]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Fix 'make headers_check' on m32r
authorDavid Woodhouse <dwmw2@infradead.org>
Sun, 17 Sep 2006 07:39:39 +0000 (08:39 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Thu, 21 Sep 2006 07:41:35 +0000 (08:41 +0100)
> 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>
include/asm-m32r/page.h
include/asm-m32r/ptrace.h
include/asm-m32r/signal.h
include/asm-m32r/unistd.h
include/asm-m32r/user.h

index 9688be0036208a69fae49a5545a1748c628b7f67..404a4c24007b3b4f5729c86ae90ba5fce8f8e50f 100644 (file)
@@ -87,10 +87,9 @@ typedef struct { unsigned long pgprot; } pgprot_t;
 
 #define devmem_is_allowed(x) 1
 
-#endif /* __KERNEL__ */
-
 #include <asm-generic/memory_model.h>
 #include <asm-generic/page.h>
 
+#endif /* __KERNEL__ */
 #endif /* _ASM_M32R_PAGE_H */
 
index a07fa90314d2f773212fa7f82a6049e6d194a21d..2d2a6c97331e11b7ac2eb03407de1cb87ff3909c 100644 (file)
@@ -12,8 +12,6 @@
  *   Copyright (C) 2001-2002, 2004  Hirokazu Takata <takata at linux-m32r.org>
  */
 
-#include <asm/m32r.h>          /* M32R_PSW_BSM, M32R_PSW_BPM */
-
 /* 0 - 13 are integer registers (general purpose registers).  */
 #define PT_R4          0
 #define PT_R5          1
@@ -140,6 +138,8 @@ struct pt_regs {
 
 #ifdef __KERNEL__
 
+#include <asm/m32r.h>          /* M32R_PSW_BSM, M32R_PSW_BPM */
+
 #define __ARCH_SYS_PTRACE      1
 
 #if defined(CONFIG_ISA_M32R2) || defined(CONFIG_CHIP_VDEC2)
index e750045164d4e9b8ff24564e1024c244ba0dab4f..65423bed32b1cadecac621de7f19b460d22c793a 100644 (file)
@@ -6,7 +6,6 @@
 /* orig : i386 2.4.18 */
 
 #include <linux/types.h>
-#include <linux/linkage.h>
 #include <linux/time.h>
 #include <linux/compiler.h>
 
index cc31790d8077c5dbc07e9c434ecf10d4f6a79870..89f376e6229f7ddb2cf332a613177e9f09f1b19a 100644 (file)
@@ -3,8 +3,6 @@
 
 /* $Id$ */
 
-#include <asm/syscall.h>       /* SYSCALL_* */
-
 /*
  * This file contains the system call numbers.
  */
  * <asm-m32r/errno.h>
  */
 
+#include <asm/syscall.h>       /* SYSCALL_* */
+
 #define __syscall_return(type, res) \
 do { \
        if ((unsigned long)(res) >= (unsigned long)(-(124 + 1))) { \
index 2ffd0c65a78281592eeffb9b63a80dbacae89309..1ad4ded8483b48a1af31452fe8b7a2370c1e3fba 100644 (file)
@@ -8,7 +8,6 @@
  */
 
 #include <linux/types.h>
-#include <asm/processor.h>
 #include <asm/ptrace.h>
 #include <asm/page.h>