X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=arch_ppc.h;h=794c9fc7121f48f12801633ccb804d834826ceda;hp=40d186b1c107bd4da45d89fa6977d31ba7eb1cbd;hb=41e6b690646e062c78616bf9900a883e7ecced59;hpb=d2d2303563e2b260114bc0aa679d8c256eb0a43e 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")