diff options
author | Simon Glass <sjg@chromium.org> | 2019-11-14 12:57:40 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-02 18:24:59 -0500 |
commit | 9d3915b2dfe9bf5c9b09ba9119a194ff87746107 (patch) | |
tree | c5ecc7d92164d0cbbb04bbce2500567b09058012 /arch/powerpc/lib/interrupts.c | |
parent | 1eb69ae498567bb0b62ee554647204e8245cdacc (diff) | |
download | u-boot-9d3915b2dfe9bf5c9b09ba9119a194ff87746107.tar.gz |
arm: powerpc: Tidy up code style for interrupt functions
Remove the unwanted space before the bracket.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/powerpc/lib/interrupts.c')
-rw-r--r-- | arch/powerpc/lib/interrupts.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/lib/interrupts.c b/arch/powerpc/lib/interrupts.c index 4b7f543a18..a58ddfa569 100644 --- a/arch/powerpc/lib/interrupts.c +++ b/arch/powerpc/lib/interrupts.c @@ -38,13 +38,13 @@ static __inline__ void set_dec (unsigned long val) } #endif /* !CONFIG_MPC83XX_TIMER */ -void enable_interrupts (void) +void enable_interrupts(void) { set_msr (get_msr () | MSR_EE); } /* returns flag if MSR_EE was set before */ -int disable_interrupts (void) +int disable_interrupts(void) { ulong msr = get_msr (); @@ -53,7 +53,7 @@ int disable_interrupts (void) } #ifndef CONFIG_MPC83XX_TIMER -int interrupt_init (void) +int interrupt_init(void) { /* call cpu specific function from $(CPU)/interrupts.c */ interrupt_init_cpu (&decrementer_count); @@ -67,7 +67,7 @@ int interrupt_init (void) static volatile ulong timestamp = 0; -void timer_interrupt (struct pt_regs *regs) +void timer_interrupt(struct pt_regs *regs) { /* call cpu specific function from $(CPU)/interrupts.c */ timer_interrupt_cpu (regs); |