summaryrefslogtreecommitdiff
path: root/arch/parisc/include/uapi/asm/signal.h
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2014-11-10 22:04:47 +0100
committerHelge Deller <deller@gmx.de>2014-11-10 22:25:29 +0100
commitd8f5457ab93965f0e695516ad23548954e3e9044 (patch)
tree08bc851d3daaf717b3ed603a6dff55d15e9ed5aa /arch/parisc/include/uapi/asm/signal.h
parent2fe749f50b0bec07650ef135b29b1f55bf543869 (diff)
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/signal.h')
-rw-r--r--arch/parisc/include/uapi/asm/signal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/include/uapi/asm/signal.h b/arch/parisc/include/uapi/asm/signal.h
index 10df7079f4cd..e26043b73f5d 100644
--- a/arch/parisc/include/uapi/asm/signal.h
+++ b/arch/parisc/include/uapi/asm/signal.h
@@ -85,7 +85,7 @@
struct siginfo;
/* Type of a signal handler. */
-#ifdef CONFIG_64BIT
+#if defined(__LP64__)
/* function pointers on 64-bit parisc are pointers to little structs and the
* compiler doesn't support code which changes or tests the address of
* the function in the little struct. This is really ugly -PB