Fix arch_ppc precompiler error
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mon, 11 May 2009 02:53:36 +0000 (22:53 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mon, 11 May 2009 02:53:36 +0000 (22:53 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
arch_ppc.h

index 40d186b1c107bd4da45d89fa6977d31ba7eb1cbd..794c9fc7121f48f12801633ccb804d834826ceda 100644 (file)
@@ -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")
This page took 0.025636 seconds and 4 git commands to generate.