Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73009
b: refs/heads/master
c: 1d0a909
h: refs/heads/master
i:
  73007: 3fcad0d
v: v3
  • Loading branch information
Ralf Baechle committed Nov 2, 2007
1 parent c2e2a3b commit 7b516bc
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 22 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: 81b635ef368d994a86f20c0ea5a82f45045da1e9
refs/heads/master: 1d0a909cfc41f17175023b939b28322e427746b4
16 changes: 0 additions & 16 deletions trunk/arch/mips/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,22 +80,6 @@ static cycle_t c0_hpt_read(void)

int (*mips_timer_state)(void);

/*
* local_timer_interrupt() does profiling and process accounting
* on a per-CPU basis.
*
* In UP mode, it is invoked from the (global) timer_interrupt.
*
* In SMP mode, it might invoked by per-CPU timer interrupt, or
* a broadcasted inter-processor interrupt which itself is triggered
* by the global timer interrupt.
*/
void local_timer_interrupt(int irq, void *dev_id)
{
profile_tick(CPU_PROFILING);
update_process_times(user_mode(get_irq_regs()));
}

int null_perf_irq(void)
{
return 0;
Expand Down
5 changes: 0 additions & 5 deletions trunk/include/asm-mips/time.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@ extern int (*mips_timer_state)(void);
*/
extern struct clocksource clocksource_mips;

/*
* profiling and process accouting is done separately in local_timer_interrupt
*/
extern void local_timer_interrupt(int irq, void *dev_id);

/*
* board specific routines required by time_init().
*/
Expand Down

0 comments on commit 7b516bc

Please sign in to comment.