Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144934
b: refs/heads/master
c: bcf1180
h: refs/heads/master
v: v3
  • Loading branch information
Kevin D. Kissell authored and Ralf Baechle committed May 14, 2009
1 parent 16b00be commit e16f8e4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 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: c34e6e8bdd99c746b7844c937c3a2529ef2c4437
refs/heads/master: bcf11801e77946533767bbb368130220e241d824
6 changes: 5 additions & 1 deletion trunk/arch/mips/include/asm/time.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,11 @@ extern int r4k_clockevent_init(void);

static inline int mips_clockevent_init(void)
{
#ifdef CONFIG_CEVT_R4K
#ifdef CONFIG_MIPS_MT_SMTC
extern int smtc_clockevent_init(void);

return smtc_clockevent_init();
#elif CONFIG_CEVT_R4K
return r4k_clockevent_init();
#else
return -ENXIO;
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/mips/kernel/cevt-smtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ irqreturn_t c0_compare_interrupt(int irq, void *dev_id)
}


int __cpuinit mips_clockevent_init(void)
int __cpuinit smtc_clockevent_init(void)
{
uint64_t mips_freq = mips_hpt_frequency;
unsigned int cpu = smp_processor_id();
Expand Down

0 comments on commit e16f8e4

Please sign in to comment.