diff options
author | Greg Ungerer <gerg@snapgear.com> | 2008-02-01 02:40:52 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-02-01 05:02:04 -0500 |
commit | 0c6377f878eb767846934d6c70377afac9a4db68 (patch) | |
tree | 94089c74d5ee2eadea89a1ba927d21cf6ca9b42a /arch/m68knommu/platform/5249/config.c | |
parent | 79d8bfb01be752694fb3ae93555fcc0ad91b232b (diff) |
m68knommu: remove dead timer int pending code
Remove all the dead timer interrupt checking functions for the ColdFire
CPU "timers" hardware that are not used after switching to GENERIC_TIME.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m68knommu/platform/5249/config.c')
-rw-r--r-- | arch/m68knommu/platform/5249/config.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/m68knommu/platform/5249/config.c b/arch/m68knommu/platform/5249/config.c index 76a2c785245e..d299f7b8768a 100644 --- a/arch/m68knommu/platform/5249/config.c +++ b/arch/m68knommu/platform/5249/config.c | |||
@@ -105,20 +105,6 @@ void mcf_settimericr(unsigned int timer, unsigned int level) | |||
105 | 105 | ||
106 | /***************************************************************************/ | 106 | /***************************************************************************/ |
107 | 107 | ||
108 | int mcf_timerirqpending(int timer) | ||
109 | { | ||
110 | unsigned int imr = 0; | ||
111 | |||
112 | switch (timer) { | ||
113 | case 1: imr = MCFSIM_IMR_TIMER1; break; | ||
114 | case 2: imr = MCFSIM_IMR_TIMER2; break; | ||
115 | default: break; | ||
116 | } | ||
117 | return (mcf_getipr() & imr); | ||
118 | } | ||
119 | |||
120 | /***************************************************************************/ | ||
121 | |||
122 | void __init config_BSP(char *commandp, int size) | 108 | void __init config_BSP(char *commandp, int size) |
123 | { | 109 | { |
124 | mcf_setimr(MCFSIM_IMR_MASKALL); | 110 | mcf_setimr(MCFSIM_IMR_MASKALL); |