X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FSMP.h;h=a1f14e48c93b0d42f8d6316d877cf6c19ff50cbd;hb=153b9cb9b11e05c4edb1b6bc0a7b972660e41f70;hp=319f51022056035ab5cd5f90fd2d8ede9235bb65;hpb=bfdd44b2bfec3d819fd5ce19279832c25f096bb4;p=ghc-hetmet.git diff --git a/ghc/includes/SMP.h b/ghc/includes/SMP.h index 319f510..a1f14e4 100644 --- a/ghc/includes/SMP.h +++ b/ghc/includes/SMP.h @@ -1,5 +1,5 @@ /* ---------------------------------------------------------------------------- - * $Id: SMP.h,v 1.4 2002/02/04 20:10:47 sof Exp $ + * $Id: SMP.h,v 1.5 2005/01/28 12:55:52 simonmar Exp $ * * (c) The GHC Team, 1999 * @@ -31,7 +31,7 @@ * (because another thread is altering it in parallel), we just jump * to the new entry point. */ -#if defined(i386_TARGET_ARCH) && defined(TABLES_NEXT_TO_CODE) +#if defined(i386_HOST_ARCH) && defined(TABLES_NEXT_TO_CODE) #define CMPXCHG(p, cmp, new) \ __asm__ __volatile__ ( \ "lock ; cmpxchg %1, %0\n" \