Commit 274f5946 authored by David Woodhouse's avatar David Woodhouse

Don't include implementation details from asm-s390/ptrace.h and page.h

Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent b7b3c76a
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
#ifndef _S390_PAGE_H #ifndef _S390_PAGE_H
#define _S390_PAGE_H #define _S390_PAGE_H
#include <asm/setup.h>
#include <asm/types.h> #include <asm/types.h>
/* PAGE_SHIFT determines the page size */ /* PAGE_SHIFT determines the page size */
...@@ -20,6 +19,7 @@ ...@@ -20,6 +19,7 @@
#define PAGE_DEFAULT_KEY (PAGE_DEFAULT_ACC << 4) #define PAGE_DEFAULT_KEY (PAGE_DEFAULT_ACC << 4)
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <asm/setup.h>
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
#ifndef __s390x__ #ifndef __s390x__
...@@ -189,9 +189,9 @@ page_get_storage_key(unsigned long addr) ...@@ -189,9 +189,9 @@ page_get_storage_key(unsigned long addr)
#define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \
VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
#endif /* __KERNEL__ */
#include <asm-generic/memory_model.h> #include <asm-generic/memory_model.h>
#include <asm-generic/page.h> #include <asm-generic/page.h>
#endif /* __KERNEL__ */
#endif /* _S390_PAGE_H */ #endif /* _S390_PAGE_H */
...@@ -183,8 +183,6 @@ ...@@ -183,8 +183,6 @@
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
#include <linux/stddef.h> #include <linux/stddef.h>
#include <linux/types.h> #include <linux/types.h>
#include <asm/setup.h>
#include <asm/page.h>
typedef union typedef union
{ {
...@@ -300,6 +298,9 @@ typedef struct ...@@ -300,6 +298,9 @@ typedef struct
} s390_regs; } s390_regs;
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <asm/setup.h>
#include <asm/page.h>
/* /*
* The pt_regs struct defines the way the registers are stored on * The pt_regs struct defines the way the registers are stored on
* the stack during a system call. * the stack during a system call.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment