aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/kernel/time.c2
-rw-r--r--kernel/time/clocksource.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/time.c b/arch/powerpc/kernel/time.c
index 92dc844299b6..60ceb2708948 100644
--- a/arch/powerpc/kernel/time.c
+++ b/arch/powerpc/kernel/time.c
@@ -905,7 +905,7 @@ static void register_decrementer_clockevent(int cpu)
905 *dec = decrementer_clockevent; 905 *dec = decrementer_clockevent;
906 dec->cpumask = cpumask_of(cpu); 906 dec->cpumask = cpumask_of(cpu);
907 907
908 printk(KERN_DEBUG "clockevent: %s mult[%lx] shift[%d] cpu[%d]\n", 908 printk(KERN_DEBUG "clockevent: %s mult[%x] shift[%d] cpu[%d]\n",
909 dec->name, dec->mult, dec->shift, cpu); 909 dec->name, dec->mult, dec->shift, cpu);
910 910
911 clockevents_register_device(dec); 911 clockevents_register_device(dec);
diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c
index b65b242f04dd..72a2dcbd8b48 100644
--- a/kernel/time/clocksource.c
+++ b/kernel/time/clocksource.c
@@ -466,8 +466,6 @@ void clocksource_touch_watchdog(void)
466 clocksource_resume_watchdog(); 466 clocksource_resume_watchdog();
467} 467}
468 468
469#ifdef CONFIG_GENERIC_TIME
470
471/** 469/**
472 * clocksource_max_deferment - Returns max time the clocksource can be deferred 470 * clocksource_max_deferment - Returns max time the clocksource can be deferred
473 * @cs: Pointer to clocksource 471 * @cs: Pointer to clocksource
@@ -509,6 +507,8 @@ static u64 clocksource_max_deferment(struct clocksource *cs)
509 return max_nsecs - (max_nsecs >> 5); 507 return max_nsecs - (max_nsecs >> 5);
510} 508}
511 509
510#ifdef CONFIG_GENERIC_TIME
511
512/** 512/**
513 * clocksource_select - Select the best clocksource available 513 * clocksource_select - Select the best clocksource available
514 * 514 *