From 41e6b690646e062c78616bf9900a883e7ecced59 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Sun, 10 May 2009 22:53:36 -0400 Subject: [PATCH] Fix arch_ppc precompiler error Signed-off-by: Mathieu Desnoyers --- arch_ppc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch_ppc.h b/arch_ppc.h index 40d186b..794c9fc 100644 --- a/arch_ppc.h +++ b/arch_ppc.h @@ -28,7 +28,7 @@ #define CONFIG_HAVE_MEM_COHERENCY #ifndef BITS_PER_LONG -#define BITS_PER_LONG (sizeof(unsigned long) * 8) +#define BITS_PER_LONG (__SIZEOF_LONG__ * 8) #endif #define mb() asm volatile("sync":::"memory") -- 2.34.1