Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45343
b: refs/heads/master
c: f75f369
h: refs/heads/master
i:
  45341: e24293d
  45339: c6bc69d
  45335: 4e0c139
  45327: cc31845
  45311: 843a8d0
v: v3
  • Loading branch information
Atsushi Nemoto authored and Ralf Baechle committed Jan 8, 2007
1 parent e165e28 commit 5de68c0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f9bba75e378776ee4e97adc0555db16695d341e1
refs/heads/master: f75f369fd783d194cb45632617561ca4d7045849
9 changes: 7 additions & 2 deletions trunk/arch/mips/mips-boards/generic/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
#ifdef CONFIG_MIPS_MALTA
#include <asm/mips-boards/maltaint.h>
#endif
#ifdef CONFIG_MIPS_SEAD
#include <asm/mips-boards/seadint.h>
#endif

unsigned long cpu_khz;

Expand Down Expand Up @@ -263,11 +266,13 @@ void __init mips_time_init(void)

void __init plat_timer_setup(struct irqaction *irq)
{
#ifdef MSC01E_INT_BASE
if (cpu_has_veic) {
set_vi_handler (MSC01E_INT_CPUCTR, mips_timer_dispatch);
mips_cpu_timer_irq = MSC01E_INT_BASE + MSC01E_INT_CPUCTR;
}
else {
} else
#endif
{
if (cpu_has_vint)
set_vi_handler (MIPSCPU_INT_CPUCTR, mips_timer_dispatch);
mips_cpu_timer_irq = MIPSCPU_INT_BASE + MIPSCPU_INT_CPUCTR;
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/mips/mips-boards/sead/sead_int.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* Sead board.
*/
#include <linux/init.h>
#include <linux/irq.h>
#include <linux/interrupt.h>

#include <asm/irq_cpu.h>
#include <asm/mipsregs.h>
Expand Down Expand Up @@ -108,7 +108,7 @@ asmlinkage void plat_irq_dispatch(void)
if (irq >= 0)
do_IRQ(MIPSCPU_INT_BASE + irq);
else
spurious_interrupt(regs);
spurious_interrupt();
}

void __init arch_init_irq(void)
Expand Down

0 comments on commit 5de68c0

Please sign in to comment.