diff options
author | Christophe Leroy | 2017-07-13 15:10:08 +0200 |
---|---|---|
committer | Tom Rini | 2017-07-23 09:23:29 -0400 |
commit | 08dd988be54cb6c6da676aee334c2304e77d9728 (patch) | |
tree | e7f36b0bcb06ae6f256cb001cfa3da864903d9d6 /arch/powerpc/include | |
parent | ba2c5a5c9d478c58277c4b0bb1187a6e82912410 (diff) |
powerpc, 8xx: fix missing function declarations.
Add missing .h and add missing declarations in .h
Declare local functions as static. Make interrupt_init_cpu function
signatures consistent with how decrementer_count is declared.
Based on warnings reported by 'make C=2'
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
[trini: drop cpu_init_f as 8xx/83xx are different from the rest, rework
interrupt_init_cpu/decrementer_count]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/ppc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/ppc.h b/arch/powerpc/include/asm/ppc.h index aa5dd85b449..850fe93f979 100644 --- a/arch/powerpc/include/asm/ppc.h +++ b/arch/powerpc/include/asm/ppc.h @@ -122,6 +122,10 @@ static inline void set_msr(unsigned long msr) void print_reginfo(void); #endif +int interrupt_init_cpu(unsigned *); +void timer_interrupt_cpu(struct pt_regs *); +unsigned long search_exception_table(unsigned long addr); + #endif /* !__ASSEMBLY__ */ #ifdef CONFIG_PPC |