Commit 47dbec79d1b9ce9e80bed932f345adc92049f05d
1 parent
029669da25
Exists in
master
and in
7 other branches
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>
Showing 5 changed files with 5 additions and 8 deletions Side-by-side Diff
include/asm-m32r/page.h
include/asm-m32r/ptrace.h
... | ... | @@ -12,8 +12,6 @@ |
12 | 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 | 15 | /* 0 - 13 are integer registers (general purpose registers). */ |
18 | 16 | #define PT_R4 0 |
19 | 17 | #define PT_R5 1 |
... | ... | @@ -139,6 +137,8 @@ |
139 | 137 | #define PTRACE_O_TRACESYSGOOD 0x00000001 |
140 | 138 | |
141 | 139 | #ifdef __KERNEL__ |
140 | + | |
141 | +#include <asm/m32r.h> /* M32R_PSW_BSM, M32R_PSW_BPM */ | |
142 | 142 | |
143 | 143 | #define __ARCH_SYS_PTRACE 1 |
144 | 144 |
include/asm-m32r/signal.h
include/asm-m32r/unistd.h
... | ... | @@ -3,8 +3,6 @@ |
3 | 3 | |
4 | 4 | /* $Id$ */ |
5 | 5 | |
6 | -#include <asm/syscall.h> /* SYSCALL_* */ | |
7 | - | |
8 | 6 | /* |
9 | 7 | * This file contains the system call numbers. |
10 | 8 | */ |
... | ... | @@ -302,6 +300,8 @@ |
302 | 300 | /* user-visible error numbers are in the range -1 - -124: see |
303 | 301 | * <asm-m32r/errno.h> |
304 | 302 | */ |
303 | + | |
304 | +#include <asm/syscall.h> /* SYSCALL_* */ | |
305 | 305 | |
306 | 306 | #define __syscall_return(type, res) \ |
307 | 307 | do { \ |