diff options
author | Helge Deller <deller@gmx.de> | 2014-11-10 22:04:47 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2014-11-10 22:25:29 +0100 |
commit | d8f5457ab93965f0e695516ad23548954e3e9044 (patch) | |
tree | 08bc851d3daaf717b3ed603a6dff55d15e9ed5aa /arch/parisc/include/uapi/asm/sembuf.h | |
parent | 2fe749f50b0bec07650ef135b29b1f55bf543869 (diff) | |
download | talos-obmc-linux-d8f5457ab93965f0e695516ad23548954e3e9044.tar.gz talos-obmc-linux-d8f5457ab93965f0e695516ad23548954e3e9044.zip |
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/sembuf.h')
-rw-r--r-- | arch/parisc/include/uapi/asm/sembuf.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/parisc/include/uapi/asm/sembuf.h b/arch/parisc/include/uapi/asm/sembuf.h index 1e59ffd3bd1e..f01d89e30d73 100644 --- a/arch/parisc/include/uapi/asm/sembuf.h +++ b/arch/parisc/include/uapi/asm/sembuf.h @@ -1,6 +1,8 @@ #ifndef _PARISC_SEMBUF_H #define _PARISC_SEMBUF_H +#include <asm/bitsperlong.h> + /* * The semid64_ds structure for parisc architecture. * Note extra padding because this structure is passed back and forth @@ -13,11 +15,11 @@ struct semid64_ds { struct ipc64_perm sem_perm; /* permissions .. see ipc.h */ -#ifndef CONFIG_64BIT +#if __BITS_PER_LONG != 64 unsigned int __pad1; #endif __kernel_time_t sem_otime; /* last semop time */ -#ifndef CONFIG_64BIT +#if __BITS_PER_LONG != 64 unsigned int __pad2; #endif __kernel_time_t sem_ctime; /* last change time */ |