aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-09-19 14:25:34 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2006-09-21 03:36:50 -0400
commitb5233d0704c9a6147ebbfabc576d1638b3ac5274 (patch)
treeaf5f587d45cba760ddee8304d8b72fb9007fc1f7
parent6ff6340abeaaf1a15587c87dac3e56754778cc7a (diff)
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: Paul Mundt <lethal@linux-sh.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-rw-r--r--arch/sh/kernel/process.c1
-rw-r--r--include/asm-sh/page.h3
-rw-r--r--include/asm-sh/ptrace.h2
3 files changed, 2 insertions, 4 deletions
diff --git a/arch/sh/kernel/process.c b/arch/sh/kernel/process.c
index 22dc9c21201d..f2031314cb2b 100644
--- a/arch/sh/kernel/process.c
+++ b/arch/sh/kernel/process.c
@@ -26,6 +26,7 @@
26#include <asm/uaccess.h> 26#include <asm/uaccess.h>
27#include <asm/mmu_context.h> 27#include <asm/mmu_context.h>
28#include <asm/elf.h> 28#include <asm/elf.h>
29#include <asm/ubc.h>
29 30
30static int hlt_counter=0; 31static int hlt_counter=0;
31 32
diff --git a/include/asm-sh/page.h b/include/asm-sh/page.h
index 5a057b00f19a..6f7eb8a3aba5 100644
--- a/include/asm-sh/page.h
+++ b/include/asm-sh/page.h
@@ -112,9 +112,8 @@ typedef struct { unsigned long pgprot; } pgprot_t;
112#define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ 112#define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \
113 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) 113 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
114 114
115#endif /* __KERNEL__ */
116
117#include <asm-generic/memory_model.h> 115#include <asm-generic/memory_model.h>
118#include <asm-generic/page.h> 116#include <asm-generic/page.h>
119 117
118#endif /* __KERNEL__ */
120#endif /* __ASM_SH_PAGE_H */ 119#endif /* __ASM_SH_PAGE_H */
diff --git a/include/asm-sh/ptrace.h b/include/asm-sh/ptrace.h
index 792fc35bd624..ed358a376e6e 100644
--- a/include/asm-sh/ptrace.h
+++ b/include/asm-sh/ptrace.h
@@ -1,8 +1,6 @@
1#ifndef __ASM_SH_PTRACE_H 1#ifndef __ASM_SH_PTRACE_H
2#define __ASM_SH_PTRACE_H 2#define __ASM_SH_PTRACE_H
3 3
4#include <asm/ubc.h>
5
6/* 4/*
7 * Copyright (C) 1999, 2000 Niibe Yutaka 5 * Copyright (C) 1999, 2000 Niibe Yutaka
8 * 6 *