mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
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 <trini@konsulko.com> Acked-by: Mario Six <mario.six@gdsys.cc>
This commit is contained in:
parent
76216211f8
commit
deff9b1d2a
6 changed files with 6 additions and 19 deletions
|
@ -63,13 +63,8 @@ int disable_interrupts (void)
|
|||
|
||||
int interrupt_init (void)
|
||||
{
|
||||
int ret;
|
||||
|
||||
/* call cpu specific function from $(CPU)/interrupts.c */
|
||||
ret = interrupt_init_cpu (&decrementer_count);
|
||||
|
||||
if (ret)
|
||||
return ret;
|
||||
interrupt_init_cpu (&decrementer_count);
|
||||
|
||||
set_dec (decrementer_count);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue