diff options
Diffstat (limited to 'include/asm-arm/system.h')
-rw-r--r-- | include/asm-arm/system.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-arm/system.h b/include/asm-arm/system.h index b13a8da4847b..39dd7008013c 100644 --- a/include/asm-arm/system.h +++ b/include/asm-arm/system.h | |||
@@ -104,6 +104,7 @@ extern void show_pte(struct mm_struct *mm, unsigned long addr); | |||
104 | extern void __show_regs(struct pt_regs *); | 104 | extern void __show_regs(struct pt_regs *); |
105 | 105 | ||
106 | extern int cpu_architecture(void); | 106 | extern int cpu_architecture(void); |
107 | extern void cpu_init(void); | ||
107 | 108 | ||
108 | #define set_cr(x) \ | 109 | #define set_cr(x) \ |
109 | __asm__ __volatile__( \ | 110 | __asm__ __volatile__( \ |
@@ -307,7 +308,7 @@ do { \ | |||
307 | ({ \ | 308 | ({ \ |
308 | unsigned long flags; \ | 309 | unsigned long flags; \ |
309 | local_save_flags(flags); \ | 310 | local_save_flags(flags); \ |
310 | flags & PSR_I_BIT; \ | 311 | (int)(flags & PSR_I_BIT); \ |
311 | }) | 312 | }) |
312 | 313 | ||
313 | #ifdef CONFIG_SMP | 314 | #ifdef CONFIG_SMP |