diff options
Diffstat (limited to 'arch/m68knommu/platform/5307')
-rw-r--r-- | arch/m68knommu/platform/5307/config.c | 2 | ||||
-rw-r--r-- | arch/m68knommu/platform/5307/pit.c | 2 | ||||
-rw-r--r-- | arch/m68knommu/platform/5307/timers.c | 5 |
3 files changed, 5 insertions, 4 deletions
diff --git a/arch/m68knommu/platform/5307/config.c b/arch/m68knommu/platform/5307/config.c index 8074ac56f479..e04b84deb57d 100644 --- a/arch/m68knommu/platform/5307/config.c +++ b/arch/m68knommu/platform/5307/config.c | |||
@@ -27,7 +27,7 @@ | |||
27 | /***************************************************************************/ | 27 | /***************************************************************************/ |
28 | 28 | ||
29 | void coldfire_tick(void); | 29 | void coldfire_tick(void); |
30 | void coldfire_timer_init(irqreturn_t (*handler)(int, void *, struct pt_regs *)); | 30 | void coldfire_timer_init(irq_handler_t handler); |
31 | unsigned long coldfire_timer_offset(void); | 31 | unsigned long coldfire_timer_offset(void); |
32 | void coldfire_trap_init(void); | 32 | void coldfire_trap_init(void); |
33 | void coldfire_reset(void); | 33 | void coldfire_reset(void); |
diff --git a/arch/m68knommu/platform/5307/pit.c b/arch/m68knommu/platform/5307/pit.c index 9dc5688f71b5..aa15beeb36ca 100644 --- a/arch/m68knommu/platform/5307/pit.c +++ b/arch/m68knommu/platform/5307/pit.c | |||
@@ -43,7 +43,7 @@ void coldfire_pit_tick(void) | |||
43 | 43 | ||
44 | /***************************************************************************/ | 44 | /***************************************************************************/ |
45 | 45 | ||
46 | void coldfire_pit_init(irqreturn_t (*handler)(int, void *, struct pt_regs *)) | 46 | void coldfire_pit_init(irq_handler_t handler) |
47 | { | 47 | { |
48 | volatile unsigned char *icrp; | 48 | volatile unsigned char *icrp; |
49 | volatile unsigned long *imrp; | 49 | volatile unsigned long *imrp; |
diff --git a/arch/m68knommu/platform/5307/timers.c b/arch/m68knommu/platform/5307/timers.c index e5668af19789..87b112b363a6 100644 --- a/arch/m68knommu/platform/5307/timers.c +++ b/arch/m68knommu/platform/5307/timers.c | |||
@@ -62,7 +62,7 @@ void coldfire_tick(void) | |||
62 | 62 | ||
63 | /***************************************************************************/ | 63 | /***************************************************************************/ |
64 | 64 | ||
65 | void coldfire_timer_init(irqreturn_t (*handler)(int, void *, struct pt_regs *)) | 65 | void coldfire_timer_init(irq_handler_t handler) |
66 | { | 66 | { |
67 | __raw_writew(MCFTIMER_TMR_DISABLE, TA(MCFTIMER_TMR)); | 67 | __raw_writew(MCFTIMER_TMR_DISABLE, TA(MCFTIMER_TMR)); |
68 | __raw_writetrr(((MCF_BUSCLK / 16) / HZ), TA(MCFTIMER_TRR)); | 68 | __raw_writetrr(((MCF_BUSCLK / 16) / HZ), TA(MCFTIMER_TRR)); |
@@ -111,12 +111,13 @@ unsigned long coldfire_timer_offset(void) | |||
111 | /* | 111 | /* |
112 | * Use the other timer to provide high accuracy profiling info. | 112 | * Use the other timer to provide high accuracy profiling info. |
113 | */ | 113 | */ |
114 | void coldfire_profile_tick(int irq, void *dummy, struct pt_regs *regs) | 114 | irqreturn_t coldfire_profile_tick(int irq, void *dummy) |
115 | { | 115 | { |
116 | /* Reset ColdFire timer2 */ | 116 | /* Reset ColdFire timer2 */ |
117 | __raw_writeb(MCFTIMER_TER_CAP | MCFTIMER_TER_REF, PA(MCFTIMER_TER)); | 117 | __raw_writeb(MCFTIMER_TER_CAP | MCFTIMER_TER_REF, PA(MCFTIMER_TER)); |
118 | if (current->pid) | 118 | if (current->pid) |
119 | profile_tick(CPU_PROFILING, regs); | 119 | profile_tick(CPU_PROFILING, regs); |
120 | return IRQ_HANDLED; | ||
120 | } | 121 | } |
121 | 122 | ||
122 | /***************************************************************************/ | 123 | /***************************************************************************/ |