diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-08-01 23:48:54 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-08-01 23:48:54 -0400 |
commit | 1ed4395035a6791ebbbf618429a58ab9c207cc83 (patch) | |
tree | a34158c5dd3c4ca70f140da5a484ca6142a3b8c3 /arch/ia64/kernel/time.c | |
parent | 878701db07db3f0b59f14f0c525b681e4ca81551 (diff) | |
parent | b718f91c14604e4ab5cdfe8d3baff8111425ea7d (diff) |
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
[IA64] ITC: Reduce rating for ITC clock if ITCs are drifty
[IA64] SN2: Fix up sn2_rtc clock
[IA64] Fix wrong access to irq_desc[] in iosapic_register_intr().
[IA64] Fix possible race in destroy_and_reserve_irq()
[IA64] Fix registered interrupt check
[IA64] Remove a few duplicate includes
[IA64] Allow smp_call_function_single() to current cpu
[IA64] fix a few section mismatch warnings
Diffstat (limited to 'arch/ia64/kernel/time.c')
-rw-r--r-- | arch/ia64/kernel/time.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/arch/ia64/kernel/time.c b/arch/ia64/kernel/time.c index 6c0e9e2e1b82..98cfc90cab1d 100644 --- a/arch/ia64/kernel/time.c +++ b/arch/ia64/kernel/time.c | |||
@@ -240,7 +240,21 @@ ia64_init_itm (void) | |||
240 | if (!nojitter) | 240 | if (!nojitter) |
241 | itc_jitter_data.itc_jitter = 1; | 241 | itc_jitter_data.itc_jitter = 1; |
242 | #endif | 242 | #endif |
243 | } | 243 | } else |
244 | /* | ||
245 | * ITC is drifty and we have not synchronized the ITCs in smpboot.c. | ||
246 | * ITC values may fluctuate significantly between processors. | ||
247 | * Clock should not be used for hrtimers. Mark itc as only | ||
248 | * useful for boot and testing. | ||
249 | * | ||
250 | * Note that jitter compensation is off! There is no point of | ||
251 | * synchronizing ITCs since they may be large differentials | ||
252 | * that change over time. | ||
253 | * | ||
254 | * The only way to fix this would be to repeatedly sync the | ||
255 | * ITCs. Until that time we have to avoid ITC. | ||
256 | */ | ||
257 | clocksource_itc.rating = 50; | ||
244 | 258 | ||
245 | /* Setup the CPU local timer tick */ | 259 | /* Setup the CPU local timer tick */ |
246 | ia64_cpu_local_tick(); | 260 | ia64_cpu_local_tick(); |