summaryrefslogtreecommitdiff
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2017-08-13 22:44:37 -0400
committerTom Rini <[email protected]>2017-08-26 14:56:08 -0400
commitdeff9b1d2ab24955cc4f881d63a701f40d6b491f (patch)
treee19afe0b2e780f5996afc28a872a87600c4d7a04 /arch/powerpc/include
parent76216211f842677bac10000bfdbae1155172ddd6 (diff)
powerpc: Rework interrupt_init_cpu()
The function interrupt_init_cpu() is given an int return type but does not return anything but 0. Rework this to be a void function. Signed-off-by: Tom Rini <[email protected]> Acked-by: Mario Six <[email protected]>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/ppc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/ppc.h b/arch/powerpc/include/asm/ppc.h
index 850fe93f979..5e0aa08be93 100644
--- a/arch/powerpc/include/asm/ppc.h
+++ b/arch/powerpc/include/asm/ppc.h
@@ -122,7 +122,7 @@ static inline void set_msr(unsigned long msr)
void print_reginfo(void);
#endif
-int interrupt_init_cpu(unsigned *);
+void interrupt_init_cpu(unsigned *);
void timer_interrupt_cpu(struct pt_regs *);
unsigned long search_exception_table(unsigned long addr);