Commit b5233d07 authored by Paul Mundt's avatar Paul Mundt Committed by David Woodhouse

Fix 'make headers_check' on sh

Cleanup for user headers, as noted:

asm-sh/page.h requires asm-generic/memory_model.h, which does not exist in exported headers
asm-sh/ptrace.h requires asm/ubc.h, which does not exist in exported headers
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 6ff6340a
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/mmu_context.h> #include <asm/mmu_context.h>
#include <asm/elf.h> #include <asm/elf.h>
#include <asm/ubc.h>
static int hlt_counter=0; static int hlt_counter=0;
......
...@@ -112,9 +112,8 @@ typedef struct { unsigned long pgprot; } pgprot_t; ...@@ -112,9 +112,8 @@ typedef struct { unsigned long pgprot; } pgprot_t;
#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 /* __ASM_SH_PAGE_H */ #endif /* __ASM_SH_PAGE_H */
#ifndef __ASM_SH_PTRACE_H #ifndef __ASM_SH_PTRACE_H
#define __ASM_SH_PTRACE_H #define __ASM_SH_PTRACE_H
#include <asm/ubc.h>
/* /*
* Copyright (C) 1999, 2000 Niibe Yutaka * Copyright (C) 1999, 2000 Niibe Yutaka
* *
......
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