aboutsummaryrefslogtreecommitdiff
path: root/include/asm-s390/ptrace.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-04-27 04:47:10 +0100
committerDavid Woodhouse <dwmw2@infradead.org>2006-04-27 04:47:10 +0100
commit274f5946dcb7c970455067be9e13a22174787592 (patch)
tree6f6929a35540273c90730f77c07eed827ae89728 /include/asm-s390/ptrace.h
parentb7b3c76a0a21c5a98124e90c47c488f7e4166f87 (diff)
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.