diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2016-09-01 12:33:46 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-09-01 12:33:46 -0400 |
commit | 0cb7bf61b1e9f05027de58c80f9b46a714d24e35 (patch) | |
tree | 41fb55cf62d07b425122f9a8b96412c0d8eb99c5 /arch/parisc/kernel/time.c | |
parent | aa877175e7a9982233ed8f10cb4bfddd78d82741 (diff) | |
parent | 3eab887a55424fc2c27553b7bfe32330df83f7b8 (diff) |
Merge branch 'linus' into smp/hotplug
Apply upstream changes to avoid conflicts with pending patches.
Diffstat (limited to 'arch/parisc/kernel/time.c')
-rw-r--r-- | arch/parisc/kernel/time.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/parisc/kernel/time.c b/arch/parisc/kernel/time.c index 505cf1ac5af2..4b0b963d52a7 100644 --- a/arch/parisc/kernel/time.c +++ b/arch/parisc/kernel/time.c | |||
@@ -221,18 +221,6 @@ static struct clocksource clocksource_cr16 = { | |||
221 | .flags = CLOCK_SOURCE_IS_CONTINUOUS, | 221 | .flags = CLOCK_SOURCE_IS_CONTINUOUS, |
222 | }; | 222 | }; |
223 | 223 | ||
224 | int update_cr16_clocksource(void) | ||
225 | { | ||
226 | /* since the cr16 cycle counters are not synchronized across CPUs, | ||
227 | we'll check if we should switch to a safe clocksource: */ | ||
228 | if (clocksource_cr16.rating != 0 && num_online_cpus() > 1) { | ||
229 | clocksource_change_rating(&clocksource_cr16, 0); | ||
230 | return 1; | ||
231 | } | ||
232 | |||
233 | return 0; | ||
234 | } | ||
235 | |||
236 | void __init start_cpu_itimer(void) | 224 | void __init start_cpu_itimer(void) |
237 | { | 225 | { |
238 | unsigned int cpu = smp_processor_id(); | 226 | unsigned int cpu = smp_processor_id(); |