[patch 6/13] s390: sigcontext.h vs __user.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Signed-off-by: Martin Schwidefsky <[email protected]>

---

 include/asm-s390/sigcontext.h |    2 ++
 1 files changed, 2 insertions(+)

diff -urpN linux-2.6/include/asm-s390/sigcontext.h linux-2.6-patched/include/asm-s390/sigcontext.h
--- linux-2.6/include/asm-s390/sigcontext.h	2006-01-03 04:21:10.000000000 +0100
+++ linux-2.6-patched/include/asm-s390/sigcontext.h	2006-01-12 15:43:56.000000000 +0100
@@ -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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux