diff options
| author | Christophe Leroy <[email protected]> | 2017-07-13 15:10:08 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2017-07-23 09:23:29 -0400 |
| commit | 08dd988be54cb6c6da676aee334c2304e77d9728 (patch) | |
| tree | e7f36b0bcb06ae6f256cb001cfa3da864903d9d6 /arch/powerpc/lib | |
| 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 <[email protected]>
[trini: drop cpu_init_f as 8xx/83xx are different from the rest, rework
interrupt_init_cpu/decrementer_count]
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'arch/powerpc/lib')
| -rw-r--r-- | arch/powerpc/lib/bootm.c | 2 | ||||
| -rw-r--r-- | arch/powerpc/lib/interrupts.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/arch/powerpc/lib/bootm.c b/arch/powerpc/lib/bootm.c index 42a6afbc312..0e204027af2 100644 --- a/arch/powerpc/lib/bootm.c +++ b/arch/powerpc/lib/bootm.c @@ -18,6 +18,8 @@ #include <environment.h> #include <asm/byteorder.h> #include <asm/mp.h> +#include <bootm.h> +#include <vxworks.h> #if defined(CONFIG_OF_LIBFDT) #include <libfdt.h> diff --git a/arch/powerpc/lib/interrupts.c b/arch/powerpc/lib/interrupts.c index ccba8297102..46fa18c63fb 100644 --- a/arch/powerpc/lib/interrupts.c +++ b/arch/powerpc/lib/interrupts.c @@ -28,9 +28,6 @@ void __board_show_activity (ulong dummy) #define CONFIG_SYS_WATCHDOG_FREQ (CONFIG_SYS_HZ / 2) #endif -extern int interrupt_init_cpu (unsigned *); -extern void timer_interrupt_cpu (struct pt_regs *); - static unsigned decrementer_count; /* count value for 1e6/HZ microseconds */ static __inline__ unsigned long get_dec (void) |
