浏览代码

[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>
Martin Schwidefsky 20 年之前
父节点
当前提交
6410dd5e07
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      include/asm-s390/sigcontext.h

+ 2 - 0
include/asm-s390/sigcontext.h

@@ -8,6 +8,8 @@
 #ifndef _ASM_S390_SIGCONTEXT_H
 #ifndef _ASM_S390_SIGCONTEXT_H
 #define _ASM_S390_SIGCONTEXT_H
 #define _ASM_S390_SIGCONTEXT_H
 
 
+#include <linux/compiler.h>
+
 #define __NUM_GPRS 16
 #define __NUM_GPRS 16
 #define __NUM_FPRS 16
 #define __NUM_FPRS 16
 #define __NUM_ACRS 16
 #define __NUM_ACRS 16