summaryrefslogtreecommitdiffstats
path: root/include/asm-s390/sigcontext.h
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2006-01-14 13:20:58 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-14 18:27:08 -0800
commit6410dd5e07b63606605794eeb7ec29e61fbda3db (patch)
treeb4d8a0a88060af079e6c2342cac2d6465f1d37e0 /include/asm-s390/sigcontext.h
parenteb33c190c2b633f0dfc98481ecf12f62a02c705e (diff)
downloadop-kernel-dev-6410dd5e07b63606605794eeb7ec29e61fbda3db.zip
op-kernel-dev-6410dd5e07b63606605794eeb7ec29e61fbda3db.tar.gz
[PATCH] s390: sigcontext.h vs __user
Add an include of linux/compiler.h in sigcontext.h to avoid compiler errors in user space apps because of a missing definition for __user. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-s390/sigcontext.h')
-rw-r--r--include/asm-s390/sigcontext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-s390/sigcontext.h b/include/asm-s390/sigcontext.h
index 8035453..aeb6e0b 100644
--- a/include/asm-s390/sigcontext.h
+++ b/include/asm-s390/sigcontext.h
@@ -8,6 +8,8 @@
#ifndef _ASM_S390_SIGCONTEXT_H
#define _ASM_S390_SIGCONTEXT_H
+#include <linux/compiler.h>
+
#define __NUM_GPRS 16
#define __NUM_FPRS 16
#define __NUM_ACRS 16
OpenPOWER on IntegriCloud