summaryrefslogtreecommitdiffstats
path: root/include/asm-s390/ptrace.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-04-27 05:47:10 +0200
committerDavid Woodhouse <dwmw2@infradead.org>2006-04-27 05:47:10 +0200
commit274f5946dcb7c970455067be9e13a22174787592 (patch)
tree6f6929a35540273c90730f77c07eed827ae89728 /include/asm-s390/ptrace.h
parentSanitise linux/sched.h for userspace consumption (diff)
downloadlinux-274f5946dcb7c970455067be9e13a22174787592.tar.xz
linux-274f5946dcb7c970455067be9e13a22174787592.zip
Don't include implementation details from asm-s390/ptrace.h and page.h
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/asm-s390/ptrace.h')
-rw-r--r--include/asm-s390/ptrace.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-s390/ptrace.h b/include/asm-s390/ptrace.h
index a867e94ae484..4d75d77b0f99 100644
--- a/include/asm-s390/ptrace.h
+++ b/include/asm-s390/ptrace.h
@@ -183,8 +183,6 @@
#ifndef __ASSEMBLY__
#include <linux/stddef.h>
#include <linux/types.h>
-#include <asm/setup.h>
-#include <asm/page.h>
typedef union
{
@@ -300,6 +298,9 @@ typedef struct
} s390_regs;
#ifdef __KERNEL__
+#include <asm/setup.h>
+#include <asm/page.h>
+
/*
* The pt_regs struct defines the way the registers are stored on
* the stack during a system call.