aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-m32r
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-09-17 03:39:39 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2006-09-21 03:41:35 -0400
commit47dbec79d1b9ce9e80bed932f345adc92049f05d (patch)
treeb03f432ff18e1356c5901776040a94c83978f412 /include/asm-m32r
parent029669da25efa18ee4b8911e694fdcf4a11c8cbe (diff)
Fix 'make headers_check' on m32r
> asm-m32r/page.h requires asm-generic/memory_model.h, which does not exist > asm-m32r/ptrace.h requires asm/m32r.h, which does not exist > asm-m32r/signal.h requires linux/linkage.h, which does not exist > asm-m32r/unistd.h requires asm/syscall.h, which does not exist > asm-m32r/user.h requires asm/processor.h, which does not exist Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/asm-m32r')
-rw-r--r--include/asm-m32r/page.h3
-rw-r--r--include/asm-m32r/ptrace.h4
-rw-r--r--include/asm-m32r/signal.h1
-rw-r--r--include/asm-m32r/unistd.h4
-rw-r--r--include/asm-m32r/user.h1
5 files changed, 5 insertions, 8 deletions
diff --git a/include/asm-m32r/page.h b/include/asm-m32r/page.h
index 9688be003620..404a4c24007b 100644
--- a/include/asm-m32r/page.h
+++ b/include/asm-m32r/page.h
@@ -87,10 +87,9 @@ typedef struct { unsigned long pgprot; } pgprot_t;
87 87
88#define devmem_is_allowed(x) 1 88#define devmem_is_allowed(x) 1
89 89
90#endif /* __KERNEL__ */
91
92#include <asm-generic/memory_model.h> 90#include <asm-generic/memory_model.h>
93#include <asm-generic/page.h> 91#include <asm-generic/page.h>
94 92
93#endif /* __KERNEL__ */
95#endif /* _ASM_M32R_PAGE_H */ 94#endif /* _ASM_M32R_PAGE_H */
96 95
diff --git a/include/asm-m32r/ptrace.h b/include/asm-m32r/ptrace.h
index a07fa90314d2..2d2a6c97331e 100644
--- a/include/asm-m32r/ptrace.h
+++ b/include/asm-m32r/ptrace.h
@@ -12,8 +12,6 @@
12 * Copyright (C) 2001-2002, 2004 Hirokazu Takata <takata at linux-m32r.org> 12 * Copyright (C) 2001-2002, 2004 Hirokazu Takata <takata at linux-m32r.org>
13 */ 13 */
14 14
15#include <asm/m32r.h> /* M32R_PSW_BSM, M32R_PSW_BPM */
16
17/* 0 - 13 are integer registers (general purpose registers). */ 15/* 0 - 13 are integer registers (general purpose registers). */
18#define PT_R4 0 16#define PT_R4 0
19#define PT_R5 1 17#define PT_R5 1
@@ -140,6 +138,8 @@ struct pt_regs {
140 138
141#ifdef __KERNEL__ 139#ifdef __KERNEL__
142 140
141#include <asm/m32r.h> /* M32R_PSW_BSM, M32R_PSW_BPM */
142
143#define __ARCH_SYS_PTRACE 1 143#define __ARCH_SYS_PTRACE 1
144 144
145#if defined(CONFIG_ISA_M32R2) || defined(CONFIG_CHIP_VDEC2) 145#if defined(CONFIG_ISA_M32R2) || defined(CONFIG_CHIP_VDEC2)
diff --git a/include/asm-m32r/signal.h b/include/asm-m32r/signal.h
index e750045164d4..65423bed32b1 100644
--- a/include/asm-m32r/signal.h
+++ b/include/asm-m32r/signal.h
@@ -6,7 +6,6 @@
6/* orig : i386 2.4.18 */ 6/* orig : i386 2.4.18 */
7 7
8#include <linux/types.h> 8#include <linux/types.h>
9#include <linux/linkage.h>
10#include <linux/time.h> 9#include <linux/time.h>
11#include <linux/compiler.h> 10#include <linux/compiler.h>
12 11
diff --git a/include/asm-m32r/unistd.h b/include/asm-m32r/unistd.h
index cc31790d8077..89f376e6229f 100644
--- a/include/asm-m32r/unistd.h
+++ b/include/asm-m32r/unistd.h
@@ -3,8 +3,6 @@
3 3
4/* $Id$ */ 4/* $Id$ */
5 5
6#include <asm/syscall.h> /* SYSCALL_* */
7
8/* 6/*
9 * This file contains the system call numbers. 7 * This file contains the system call numbers.
10 */ 8 */
@@ -303,6 +301,8 @@
303 * <asm-m32r/errno.h> 301 * <asm-m32r/errno.h>
304 */ 302 */
305 303
304#include <asm/syscall.h> /* SYSCALL_* */
305
306#define __syscall_return(type, res) \ 306#define __syscall_return(type, res) \
307do { \ 307do { \
308 if ((unsigned long)(res) >= (unsigned long)(-(124 + 1))) { \ 308 if ((unsigned long)(res) >= (unsigned long)(-(124 + 1))) { \
diff --git a/include/asm-m32r/user.h b/include/asm-m32r/user.h
index 2ffd0c65a782..1ad4ded8483b 100644
--- a/include/asm-m32r/user.h
+++ b/include/asm-m32r/user.h
@@ -8,7 +8,6 @@
8 */ 8 */
9 9
10#include <linux/types.h> 10#include <linux/types.h>
11#include <asm/processor.h>
12#include <asm/ptrace.h> 11#include <asm/ptrace.h>
13#include <asm/page.h> 12#include <asm/page.h>
14 13