diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-01-25 15:07:59 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-25 15:07:59 -0500 |
commit | b842271fbb9c8b5fd0e1c3e1895a3b67ba5bcc54 (patch) | |
tree | e6fd8db6b1544056b13379b5e3c4cd8217231d86 /arch/ia64 | |
parent | d713f519332e029d43eca8462629314eee1ded86 (diff) |
sched: remove printk_clock()
printk_clock() is obsolete - it has been replaced with cpu_clock().
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/kernel/time.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/arch/ia64/kernel/time.c b/arch/ia64/kernel/time.c index 2bb84214e5f1..3ab042720970 100644 --- a/arch/ia64/kernel/time.c +++ b/arch/ia64/kernel/time.c | |||
@@ -344,33 +344,6 @@ udelay (unsigned long usecs) | |||
344 | } | 344 | } |
345 | EXPORT_SYMBOL(udelay); | 345 | EXPORT_SYMBOL(udelay); |
346 | 346 | ||
347 | static unsigned long long ia64_itc_printk_clock(void) | ||
348 | { | ||
349 | if (ia64_get_kr(IA64_KR_PER_CPU_DATA)) | ||
350 | return sched_clock(); | ||
351 | return 0; | ||
352 | } | ||
353 | |||
354 | static unsigned long long ia64_default_printk_clock(void) | ||
355 | { | ||
356 | return (unsigned long long)(jiffies_64 - INITIAL_JIFFIES) * | ||
357 | (1000000000/HZ); | ||
358 | } | ||
359 | |||
360 | unsigned long long (*ia64_printk_clock)(void) = &ia64_default_printk_clock; | ||
361 | |||
362 | unsigned long long printk_clock(void) | ||
363 | { | ||
364 | return ia64_printk_clock(); | ||
365 | } | ||
366 | |||
367 | void __init | ||
368 | ia64_setup_printk_clock(void) | ||
369 | { | ||
370 | if (!(sal_platform_features & IA64_SAL_PLATFORM_FEATURE_ITC_DRIFT)) | ||
371 | ia64_printk_clock = ia64_itc_printk_clock; | ||
372 | } | ||
373 | |||
374 | /* IA64 doesn't cache the timezone */ | 347 | /* IA64 doesn't cache the timezone */ |
375 | void update_vsyscall_tz(void) | 348 | void update_vsyscall_tz(void) |
376 | { | 349 | { |