diff options
author | Helge Deller <deller@gmx.de> | 2014-11-11 00:04:47 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2014-11-11 00:25:29 +0300 |
commit | d8f5457ab93965f0e695516ad23548954e3e9044 (patch) | |
tree | 08bc851d3daaf717b3ed603a6dff55d15e9ed5aa /arch/parisc/include/uapi/asm/bitsperlong.h | |
parent | 2fe749f50b0bec07650ef135b29b1f55bf543869 (diff) | |
download | linux-d8f5457ab93965f0e695516ad23548954e3e9044.tar.xz |
parisc: Avoid using CONFIG_64BIT in userspace exported headers
The gcc compiler provide the predefined __LP64__ macro. Use that
instead.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/include/uapi/asm/bitsperlong.h')
-rw-r--r-- | arch/parisc/include/uapi/asm/bitsperlong.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/parisc/include/uapi/asm/bitsperlong.h b/arch/parisc/include/uapi/asm/bitsperlong.h index 75196b415d3f..e0a23c7bdd43 100644 --- a/arch/parisc/include/uapi/asm/bitsperlong.h +++ b/arch/parisc/include/uapi/asm/bitsperlong.h @@ -1,13 +1,7 @@ #ifndef __ASM_PARISC_BITSPERLONG_H #define __ASM_PARISC_BITSPERLONG_H -/* - * using CONFIG_* outside of __KERNEL__ is wrong, - * __LP64__ was also removed from headers, so what - * is the right approach on parisc? - * -arnd - */ -#if (defined(__KERNEL__) && defined(CONFIG_64BIT)) || defined (__LP64__) +#if defined(__LP64__) #define __BITS_PER_LONG 64 #define SHIFT_PER_LONG 6 #else |