Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 78048
b: refs/heads/master
c: c966234
h: refs/heads/master
v: v3
  • Loading branch information
Yoichi Yuasa authored and Ralf Baechle committed Jan 29, 2008
1 parent c42d67d commit ebba095
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 12 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: fa71c96002d1b02cd1ba1a4477d4b8ad95b587f9
refs/heads/master: c9662341f8a09cffd7234a89cc066c342fe343bf
1 change: 0 additions & 1 deletion trunk/arch/mips/dec/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ static cycle_t dec_ioasic_hpt_read(void)

void __init plat_time_init(void)
{
mips_timer_state = dec_timer_state;
mips_timer_ack = dec_timer_ack;

if (!cpu_has_counter && IOASIC)
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/mips/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ int update_persistent_clock(struct timespec now)
return rtc_mips_set_mmss(now.tv_sec);
}

int (*mips_timer_state)(void);

int null_perf_irq(void)
{
return 0;
Expand Down
9 changes: 1 addition & 8 deletions trunk/include/asm-mips/time.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,14 @@ extern spinlock_t rtc_lock;
extern int rtc_mips_set_time(unsigned long);
extern int rtc_mips_set_mmss(unsigned long);

/*
* Timer interrupt functions.
* mips_timer_state is needed for high precision timer calibration.
*/
extern int (*mips_timer_state)(void);

/*
* board specific routines required by time_init().
*/
extern void plat_time_init(void);

/*
* mips_hpt_frequency - must be set if you intend to use an R4k-compatible
* counter as a timer interrupt source; otherwise it can be set up
* automagically with an aid of mips_timer_state.
* counter as a timer interrupt source.
*/
extern unsigned int mips_hpt_frequency;

Expand Down

0 comments on commit ebba095

Please sign in to comment.