diff options
| -rw-r--r-- | include/asm-frv/Kbuild | 6 | ||||
| -rw-r--r-- | include/asm-frv/page.h | 4 | ||||
| -rw-r--r-- | include/asm-frv/ptrace.h | 4 | ||||
| -rw-r--r-- | include/asm-frv/termios.h | 2 |
4 files changed, 14 insertions, 2 deletions
diff --git a/include/asm-frv/Kbuild b/include/asm-frv/Kbuild index c68e1680da01..966a9836d556 100644 --- a/include/asm-frv/Kbuild +++ b/include/asm-frv/Kbuild | |||
| @@ -1 +1,7 @@ | |||
| 1 | include include/asm-generic/Kbuild.asm | 1 | include include/asm-generic/Kbuild.asm |
| 2 | |||
| 3 | header-y += registers.h | ||
| 4 | |||
| 5 | unifdef-y += termios.h | ||
| 6 | unifdef-y += ptrace.h | ||
| 7 | unifdef-y += page.h | ||
diff --git a/include/asm-frv/page.h b/include/asm-frv/page.h index 134cc0cdf6c2..213d92fd652a 100644 --- a/include/asm-frv/page.h +++ b/include/asm-frv/page.h | |||
| @@ -76,8 +76,6 @@ extern unsigned long max_pfn; | |||
| 76 | 76 | ||
| 77 | #endif /* __ASSEMBLY__ */ | 77 | #endif /* __ASSEMBLY__ */ |
| 78 | 78 | ||
| 79 | #endif /* __KERNEL__ */ | ||
| 80 | |||
| 81 | #ifdef CONFIG_CONTIGUOUS_PAGE_ALLOC | 79 | #ifdef CONFIG_CONTIGUOUS_PAGE_ALLOC |
| 82 | #define WANT_PAGE_VIRTUAL 1 | 80 | #define WANT_PAGE_VIRTUAL 1 |
| 83 | #endif | 81 | #endif |
| @@ -85,4 +83,6 @@ extern unsigned long max_pfn; | |||
| 85 | #include <asm-generic/memory_model.h> | 83 | #include <asm-generic/memory_model.h> |
| 86 | #include <asm-generic/page.h> | 84 | #include <asm-generic/page.h> |
| 87 | 85 | ||
| 86 | #endif /* __KERNEL__ */ | ||
| 87 | |||
| 88 | #endif /* _ASM_PAGE_H */ | 88 | #endif /* _ASM_PAGE_H */ |
diff --git a/include/asm-frv/ptrace.h b/include/asm-frv/ptrace.h index 9a2241b8eb1e..cf6934012b64 100644 --- a/include/asm-frv/ptrace.h +++ b/include/asm-frv/ptrace.h | |||
| @@ -12,9 +12,11 @@ | |||
| 12 | #define _ASM_PTRACE_H | 12 | #define _ASM_PTRACE_H |
| 13 | 13 | ||
| 14 | #include <asm/registers.h> | 14 | #include <asm/registers.h> |
| 15 | #ifdef __KERNEL__ | ||
| 15 | #include <asm/irq_regs.h> | 16 | #include <asm/irq_regs.h> |
| 16 | 17 | ||
| 17 | #define in_syscall(regs) (((regs)->tbr & TBR_TT) == TBR_TT_TRAP0) | 18 | #define in_syscall(regs) (((regs)->tbr & TBR_TT) == TBR_TT_TRAP0) |
| 19 | #endif | ||
| 18 | 20 | ||
| 19 | 21 | ||
| 20 | #define PT_PSR 0 | 22 | #define PT_PSR 0 |
| @@ -60,6 +62,7 @@ | |||
| 60 | #define PTRACE_GETFDPIC_EXEC 0 /* [addr] request the executable loadmap */ | 62 | #define PTRACE_GETFDPIC_EXEC 0 /* [addr] request the executable loadmap */ |
| 61 | #define PTRACE_GETFDPIC_INTERP 1 /* [addr] request the interpreter loadmap */ | 63 | #define PTRACE_GETFDPIC_INTERP 1 /* [addr] request the interpreter loadmap */ |
| 62 | 64 | ||
| 65 | #ifdef __KERNEL__ | ||
| 63 | #ifndef __ASSEMBLY__ | 66 | #ifndef __ASSEMBLY__ |
| 64 | 67 | ||
| 65 | /* | 68 | /* |
| @@ -74,6 +77,7 @@ register struct pt_regs *__frame asm("gr28"); | |||
| 74 | extern unsigned long user_stack(const struct pt_regs *); | 77 | extern unsigned long user_stack(const struct pt_regs *); |
| 75 | extern void show_regs(struct pt_regs *); | 78 | extern void show_regs(struct pt_regs *); |
| 76 | #define profile_pc(regs) ((regs)->pc) | 79 | #define profile_pc(regs) ((regs)->pc) |
| 80 | #endif | ||
| 77 | 81 | ||
| 78 | #endif /* !__ASSEMBLY__ */ | 82 | #endif /* !__ASSEMBLY__ */ |
| 79 | #endif /* _ASM_PTRACE_H */ | 83 | #endif /* _ASM_PTRACE_H */ |
diff --git a/include/asm-frv/termios.h b/include/asm-frv/termios.h index b4a664e7f55c..8840cf95e8dd 100644 --- a/include/asm-frv/termios.h +++ b/include/asm-frv/termios.h | |||
| @@ -69,6 +69,8 @@ struct termio { | |||
| 69 | #define N_SYNC_PPP 14 | 69 | #define N_SYNC_PPP 14 |
| 70 | #define N_HCI 15 /* Bluetooth HCI UART */ | 70 | #define N_HCI 15 /* Bluetooth HCI UART */ |
| 71 | 71 | ||
| 72 | #ifdef __KERNEL__ | ||
| 72 | #include <asm-generic/termios.h> | 73 | #include <asm-generic/termios.h> |
| 74 | #endif | ||
| 73 | 75 | ||
| 74 | #endif /* _ASM_TERMIOS_H */ | 76 | #endif /* _ASM_TERMIOS_H */ |
