diff options
Diffstat (limited to 'arch/parisc/kernel/processor.c')
-rw-r--r-- | arch/parisc/kernel/processor.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/parisc/kernel/processor.c b/arch/parisc/kernel/processor.c index 7c056dcebf55..dd5d0cb6b347 100644 --- a/arch/parisc/kernel/processor.c +++ b/arch/parisc/kernel/processor.c | |||
@@ -48,6 +48,8 @@ EXPORT_SYMBOL(boot_cpu_data); | |||
48 | 48 | ||
49 | struct cpuinfo_parisc cpu_data[NR_CPUS] __read_mostly; | 49 | struct cpuinfo_parisc cpu_data[NR_CPUS] __read_mostly; |
50 | 50 | ||
51 | extern int update_cr16_clocksource(void); /* from time.c */ | ||
52 | |||
51 | /* | 53 | /* |
52 | ** PARISC CPU driver - claim "device" and initialize CPU data structures. | 54 | ** PARISC CPU driver - claim "device" and initialize CPU data structures. |
53 | ** | 55 | ** |
@@ -198,6 +200,12 @@ static int __init processor_probe(struct parisc_device *dev) | |||
198 | } | 200 | } |
199 | #endif | 201 | #endif |
200 | 202 | ||
203 | /* If we've registered more than one cpu, | ||
204 | * we'll use the jiffies clocksource since cr16 | ||
205 | * is not synchronized between CPUs. | ||
206 | */ | ||
207 | update_cr16_clocksource(); | ||
208 | |||
201 | return 0; | 209 | return 0; |
202 | } | 210 | } |
203 | 211 | ||