X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu%2Fuatomic_arch_ppc.h;h=4db7007ff991de54088aa39913eeac431c65648a;hp=39c4c2400113555519d8b3ce37d6db5cae710e4a;hb=1b27a7725e853b9f0673a0ed2639b8dc1065f21b;hpb=f152776dbd7d8cf072160d4d0229e1c3e4ea6f1c diff --git a/urcu/uatomic_arch_ppc.h b/urcu/uatomic_arch_ppc.h index 39c4c24..4db7007 100644 --- a/urcu/uatomic_arch_ppc.h +++ b/urcu/uatomic_arch_ppc.h @@ -27,24 +27,12 @@ extern "C" { #endif -#ifndef __SIZEOF_LONG__ -#ifdef __powerpc64__ -#define __SIZEOF_LONG__ 8 -#else -#define __SIZEOF_LONG__ 4 -#endif -#endif - #ifdef __NO_LWSYNC__ #define LWSYNC_OPCODE "sync\n" #else #define LWSYNC_OPCODE "lwsync\n" #endif -#ifndef BITS_PER_LONG -#define BITS_PER_LONG (__SIZEOF_LONG__ * 8) -#endif - #define ILLEGAL_INSTR ".long 0xd00d00" /*