projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb33c19
)
[PATCH] s390: sigcontext.h vs __user
author
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Sat, 14 Jan 2006 21:20:58 +0000
(13:20 -0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sun, 15 Jan 2006 02:27:08 +0000
(18:27 -0800)
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>
include/asm-s390/sigcontext.h
patch
|
blob
|
history
diff --git
a/include/asm-s390/sigcontext.h
b/include/asm-s390/sigcontext.h
index 803545351dd8d399c41469b32ed82298da36adf7..aeb6e0b13329b512a3d1deb77ee84a349915cecc 100644
(file)
--- 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