summaryrefslogtreecommitdiffstats
path: root/include/asm-s390
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2006-01-14 22:20:58 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-15 03:27:08 +0100
commit6410dd5e07b63606605794eeb7ec29e61fbda3db (patch)
treeb4d8a0a88060af079e6c2342cac2d6465f1d37e0 /include/asm-s390
parent[PATCH] s390: show_task oops (diff)
downloadlinux-6410dd5e07b63606605794eeb7ec29e61fbda3db.tar.xz
linux-6410dd5e07b63606605794eeb7ec29e61fbda3db.zip
[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')
-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 803545351dd8..aeb6e0b13329 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