diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-09-19 14:27:17 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-09-21 03:37:10 -0400 |
commit | 029669da25efa18ee4b8911e694fdcf4a11c8cbe (patch) | |
tree | 6abe2d1a290865a11e554c92110316cc31560dc8 /include | |
parent | b5233d0704c9a6147ebbfabc576d1638b3ac5274 (diff) |
Fix 'make headers_check' on sh64
Cleanup for user headers, as noted:
asm-sh64/page.h requires asm-generic/memory_model.h, which does not exist in exported headers
asm-sh64/shmparam.h requires asm/cache.h, which does not exist in exported headers
asm-sh64/signal.h requires asm/processor.h, which does not exist in exported headers
asm-sh64/user.h requires asm/processor.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>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-sh64/page.h | 3 | ||||
-rw-r--r-- | include/asm-sh64/shmparam.h | 16 | ||||
-rw-r--r-- | include/asm-sh64/signal.h | 1 | ||||
-rw-r--r-- | include/asm-sh64/user.h | 1 |
4 files changed, 5 insertions, 16 deletions
diff --git a/include/asm-sh64/page.h b/include/asm-sh64/page.h index 34fb34754ae6..472089aefc60 100644 --- a/include/asm-sh64/page.h +++ b/include/asm-sh64/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_SH64_PAGE_H */ | 119 | #endif /* __ASM_SH64_PAGE_H */ |
diff --git a/include/asm-sh64/shmparam.h b/include/asm-sh64/shmparam.h index d3a99a4dc0e3..1bb820c833ee 100644 --- a/include/asm-sh64/shmparam.h +++ b/include/asm-sh64/shmparam.h | |||
@@ -2,19 +2,11 @@ | |||
2 | #define __ASM_SH64_SHMPARAM_H | 2 | #define __ASM_SH64_SHMPARAM_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * This file is subject to the terms and conditions of the GNU General Public | 5 | * Set this to a sensible safe default, we'll work out the specifics for the |
6 | * License. See the file "COPYING" in the main directory of this archive | 6 | * align mask from the cache descriptor at run-time. |
7 | * for more details. | ||
8 | * | ||
9 | * include/asm-sh64/shmparam.h | ||
10 | * | ||
11 | * Copyright (C) 2000, 2001 Paolo Alberelli | ||
12 | * | ||
13 | */ | 7 | */ |
8 | #define SHMLBA 0x4000 | ||
14 | 9 | ||
15 | #include <asm/cache.h> | 10 | #define __ARCH_FORCE_SHMLBA |
16 | |||
17 | /* attach addr a multiple of this */ | ||
18 | #define SHMLBA (cpu_data->dcache.sets * L1_CACHE_BYTES) | ||
19 | 11 | ||
20 | #endif /* __ASM_SH64_SHMPARAM_H */ | 12 | #endif /* __ASM_SH64_SHMPARAM_H */ |
diff --git a/include/asm-sh64/signal.h b/include/asm-sh64/signal.h index a5a28203cb3b..244e134730d9 100644 --- a/include/asm-sh64/signal.h +++ b/include/asm-sh64/signal.h | |||
@@ -13,7 +13,6 @@ | |||
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include <linux/types.h> | 15 | #include <linux/types.h> |
16 | #include <asm/processor.h> | ||
17 | 16 | ||
18 | /* Avoid too many header ordering problems. */ | 17 | /* Avoid too many header ordering problems. */ |
19 | struct siginfo; | 18 | struct siginfo; |
diff --git a/include/asm-sh64/user.h b/include/asm-sh64/user.h index 8f32f39a8ca9..eb3b33edd73e 100644 --- a/include/asm-sh64/user.h +++ b/include/asm-sh64/user.h | |||
@@ -13,7 +13,6 @@ | |||
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include <linux/types.h> | 15 | #include <linux/types.h> |
16 | #include <asm/processor.h> | ||
17 | #include <asm/ptrace.h> | 16 | #include <asm/ptrace.h> |
18 | #include <asm/page.h> | 17 | #include <asm/page.h> |
19 | 18 | ||