Skip to content

Commit

Permalink
[PATCH] s390: sigcontext.h vs __user
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Martin Schwidefsky authored and Linus Torvalds committed Jan 15, 2006
1 parent eb33c19 commit 6410dd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/asm-s390/sigcontext.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6410dd5

Please sign in to comment.