diff options
Diffstat (limited to 'arch/parisc/lib/bitops.c')
-rw-r--r-- | arch/parisc/lib/bitops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/parisc/lib/bitops.c b/arch/parisc/lib/bitops.c index f352666b5b2f..e3eb739fab19 100644 --- a/arch/parisc/lib/bitops.c +++ b/arch/parisc/lib/bitops.c | |||
@@ -17,7 +17,7 @@ raw_spinlock_t __atomic_hash[ATOMIC_HASH_SIZE] __lock_aligned = { | |||
17 | }; | 17 | }; |
18 | #endif | 18 | #endif |
19 | 19 | ||
20 | #ifdef __LP64__ | 20 | #ifdef CONFIG_64BIT |
21 | unsigned long __xchg64(unsigned long x, unsigned long *ptr) | 21 | unsigned long __xchg64(unsigned long x, unsigned long *ptr) |
22 | { | 22 | { |
23 | unsigned long temp, flags; | 23 | unsigned long temp, flags; |
@@ -56,7 +56,7 @@ unsigned long __xchg8(char x, char *ptr) | |||
56 | } | 56 | } |
57 | 57 | ||
58 | 58 | ||
59 | #ifdef __LP64__ | 59 | #ifdef CONFIG_64BIT |
60 | unsigned long __cmpxchg_u64(volatile unsigned long *ptr, unsigned long old, unsigned long new) | 60 | unsigned long __cmpxchg_u64(volatile unsigned long *ptr, unsigned long old, unsigned long new) |
61 | { | 61 | { |
62 | unsigned long flags; | 62 | unsigned long flags; |