]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - arch/parisc/lib/bitops.c
Revert "[PARISC] import necessary bits of libgcc.a"
[linux-2.6.git] / arch / parisc / lib / bitops.c
index f352666b5b2f401d096c8c53e876d5ac1c4188e6..e3eb739fab19d3eb20c6d3ae2a837abb860ed7db 100644 (file)
@@ -17,7 +17,7 @@ raw_spinlock_t __atomic_hash[ATOMIC_HASH_SIZE] __lock_aligned = {
 };
 #endif
 
-#ifdef __LP64__
+#ifdef CONFIG_64BIT
 unsigned long __xchg64(unsigned long x, unsigned long *ptr)
 {
        unsigned long temp, flags;
@@ -56,7 +56,7 @@ unsigned long __xchg8(char x, char *ptr)
 }
 
 
-#ifdef __LP64__
+#ifdef CONFIG_64BIT
 unsigned long __cmpxchg_u64(volatile unsigned long *ptr, unsigned long old, unsigned long new)
 {
        unsigned long flags;