X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=arch_ppc.h;h=794c9fc7121f48f12801633ccb804d834826ceda;hp=1a34024461909a6078423ee4171945ca002fdb62;hb=3162dfe1928d4d6bf857f8e9e1c814eb8a994a0d;hpb=af02d47e5d0712e5ccde6d8f1ee89f18de798cad diff --git a/arch_ppc.h b/arch_ppc.h index 1a34024..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")