Skip to contentSkip to conversation

s390: sigcontext.h vs __user.

PATCH In review Martin Schwidefsky 1 participant 1 message Jan 12, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 6/13 s390: sigcontext.h vs __user.

From: Martin Schwidefsky <[email protected]>

[patch 6/13] 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.

---

 include/asm-s390/sigcontext.h |    2 ++
 1 files changed, 2 insertions(+)
include/asm-s390/sigcontext.h +2 -0
diff -urpN linux-2.6/include/asm-s390/sigcontext.h linux-2.6-patched/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