aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-parisc/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-parisc/types.h')
-rw-r--r--include/asm-parisc/types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-parisc/types.h b/include/asm-parisc/types.h
index 34fdce361a5a..d4aa33033d98 100644
--- a/include/asm-parisc/types.h
+++ b/include/asm-parisc/types.h
@@ -31,7 +31,7 @@ typedef unsigned long long __u64;
*/
#ifdef __KERNEL__
-#ifdef __LP64__
+#ifdef CONFIG_64BIT
#define BITS_PER_LONG 64
#define SHIFT_PER_LONG 6
#else