diff options
Diffstat (limited to 'arch/parisc/kernel/time.c')
-rw-r--r-- | arch/parisc/kernel/time.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/parisc/kernel/time.c b/arch/parisc/kernel/time.c index d45f77f62908..9b14066d693c 100644 --- a/arch/parisc/kernel/time.c +++ b/arch/parisc/kernel/time.c | |||
@@ -176,8 +176,6 @@ static cycle_t read_cr16(void) | |||
176 | return get_cycles(); | 176 | return get_cycles(); |
177 | } | 177 | } |
178 | 178 | ||
179 | static int cr16_update_callback(void); | ||
180 | |||
181 | static struct clocksource clocksource_cr16 = { | 179 | static struct clocksource clocksource_cr16 = { |
182 | .name = "cr16", | 180 | .name = "cr16", |
183 | .rating = 300, | 181 | .rating = 300, |
@@ -185,11 +183,11 @@ static struct clocksource clocksource_cr16 = { | |||
185 | .mask = CLOCKSOURCE_MASK(BITS_PER_LONG), | 183 | .mask = CLOCKSOURCE_MASK(BITS_PER_LONG), |
186 | .mult = 0, /* to be set */ | 184 | .mult = 0, /* to be set */ |
187 | .shift = 22, | 185 | .shift = 22, |
188 | .update_callback = cr16_update_callback, | ||
189 | .flags = CLOCK_SOURCE_IS_CONTINUOUS, | 186 | .flags = CLOCK_SOURCE_IS_CONTINUOUS, |
190 | }; | 187 | }; |
191 | 188 | ||
192 | static int cr16_update_callback(void) | 189 | #ifdef CONFIG_SMP |
190 | int update_cr16_clocksource(void) | ||
193 | { | 191 | { |
194 | int change = 0; | 192 | int change = 0; |
195 | 193 | ||
@@ -202,7 +200,7 @@ static int cr16_update_callback(void) | |||
202 | 200 | ||
203 | return change; | 201 | return change; |
204 | } | 202 | } |
205 | 203 | #endif /*CONFIG_SMP*/ | |
206 | 204 | ||
207 | void __init start_cpu_itimer(void) | 205 | void __init start_cpu_itimer(void) |
208 | { | 206 | { |