diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-11-16 13:36:49 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-11-16 13:36:49 -0500 |
commit | 5470dc656820fb67c0a2e352f0aaa48b86c19026 (patch) | |
tree | 4e2de34af202c628372bb9bbad878d060714687f /include/asm-arm | |
parent | 45e109d07275e0820745dc465302de0aa5a8703b (diff) |
[ARM] No need to include asm/proc-fns.h into asm/system.h
In the old days when arm26/arm32 was combined into the same
architecture, proc-fns.h provided the xchg implementation for
arm26 CPUs. Since we no longer combine these two, this include
is no longer required. Remove it.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/system.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-arm/system.h b/include/asm-arm/system.h index 8efa4ebdcacb..5621d61ebc07 100644 --- a/include/asm-arm/system.h +++ b/include/asm-arm/system.h | |||
@@ -93,8 +93,6 @@ void hook_fault_code(int nr, int (*fn)(unsigned long, unsigned int, | |||
93 | struct pt_regs *), | 93 | struct pt_regs *), |
94 | int sig, const char *name); | 94 | int sig, const char *name); |
95 | 95 | ||
96 | #include <asm/proc-fns.h> | ||
97 | |||
98 | #define xchg(ptr,x) \ | 96 | #define xchg(ptr,x) \ |
99 | ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) | 97 | ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) |
100 | 98 | ||
@@ -102,6 +100,8 @@ void hook_fault_code(int nr, int (*fn)(unsigned long, unsigned int, | |||
102 | 100 | ||
103 | extern asmlinkage void __backtrace(void); | 101 | extern asmlinkage void __backtrace(void); |
104 | extern asmlinkage void c_backtrace(unsigned long fp, int pmode); | 102 | extern asmlinkage void c_backtrace(unsigned long fp, int pmode); |
103 | |||
104 | struct mm_struct; | ||
105 | extern void show_pte(struct mm_struct *mm, unsigned long addr); | 105 | extern void show_pte(struct mm_struct *mm, unsigned long addr); |
106 | extern void __show_regs(struct pt_regs *); | 106 | extern void __show_regs(struct pt_regs *); |
107 | 107 | ||