Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47327
b: refs/heads/master
c: c051b01
h: refs/heads/master
i:
  47325: 737d65a
  47323: e866e96
  47319: 434ce6c
  47311: 87c1c70
  47295: dab60b4
v: v3
  • Loading branch information
Greg Ungerer authored and Linus Torvalds committed Feb 9, 2007
1 parent 49f8b61 commit 7980b78
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 459c6a9b8ee931e48f6af6637c10ec45521f0536
refs/heads/master: c051b01129560ea02ea2cebdf00db0721cc9a618
5 changes: 3 additions & 2 deletions trunk/arch/m68knommu/platform/5307/timers.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ void coldfire_tick(void)

/***************************************************************************/

void coldfire_timer_init(irqreturn_t (*handler)(int, void *, struct pt_regs *))
void coldfire_timer_init(irq_handler_t handler)
{
__raw_writew(MCFTIMER_TMR_DISABLE, TA(MCFTIMER_TMR));
__raw_writetrr(((MCF_BUSCLK / 16) / HZ), TA(MCFTIMER_TRR));
Expand Down Expand Up @@ -111,12 +111,13 @@ unsigned long coldfire_timer_offset(void)
/*
* Use the other timer to provide high accuracy profiling info.
*/
void coldfire_profile_tick(int irq, void *dummy, struct pt_regs *regs)
irqreturn_t coldfire_profile_tick(int irq, void *dummy)
{
/* Reset ColdFire timer2 */
__raw_writeb(MCFTIMER_TER_CAP | MCFTIMER_TER_REF, PA(MCFTIMER_TER));
if (current->pid)
profile_tick(CPU_PROFILING, regs);
return IRQ_HANDLED;
}

/***************************************************************************/
Expand Down

0 comments on commit 7980b78

Please sign in to comment.