diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-25 05:25:55 +1000 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-25 05:25:55 +1000 |
commit | ce84d539ce47484ff3cbc9c67b3eb69ae88954f9 (patch) | |
tree | cdba43e845e23a6793ca47857a16fae6032becfb /kernel | |
parent | bc094757f4f3d7b8211a8a1ed7605ffd7c728f75 (diff) | |
parent | b5cc8ca1c9c3a37eaddf709b2fd3e1699aee41ba (diff) | |
download | kernel_samsung_aries-ce84d539ce47484ff3cbc9c67b3eb69ae88954f9.zip kernel_samsung_aries-ce84d539ce47484ff3cbc9c67b3eb69ae88954f9.tar.gz kernel_samsung_aries-ce84d539ce47484ff3cbc9c67b3eb69ae88954f9.tar.bz2 |
Merge branch 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
RTC: Remove Kconfig symbol for UIE emulation
RTC: Properly handle rtc_read_alarm error propagation and fix bug
RTC: Propagate error handling via rtc_timer_enqueue properly
acpi_pm: Clear pmtmr_ioport if acpi_pm initialization fails
rtc: Cleanup removed UIE emulation declaration
hrtimers: Notify hrtimer users of switches to NOHZ mode
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/time/tick-sched.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index 3e216e0..c55ea24 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c @@ -642,8 +642,7 @@ static void tick_nohz_switch_to_nohz(void) } local_irq_enable(); - printk(KERN_INFO "Switched to NOHz mode on CPU #%d\n", - smp_processor_id()); + printk(KERN_INFO "Switched to NOHz mode on CPU #%d\n", smp_processor_id()); } /* @@ -795,8 +794,10 @@ void tick_setup_sched_timer(void) } #ifdef CONFIG_NO_HZ - if (tick_nohz_enabled) + if (tick_nohz_enabled) { ts->nohz_mode = NOHZ_MODE_HIGHRES; + printk(KERN_INFO "Switched to NOHz mode on CPU #%d\n", smp_processor_id()); + } #endif } #endif /* HIGH_RES_TIMERS */ |