diff options
| author | Stephen Boyd <[email protected]> | 2011-01-19 06:46:34 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2011-01-19 19:08:15 +0000 |
| commit | 2d0640b47da74cff7c11642c798d40de861ed524 (patch) | |
| tree | 51d41c213dbd5b27c3eeb6fe7527d04d2918edbb /drivers/rtc/interface.c | |
| parent | Linux 2.6.38-rc1 (diff) | |
| download | kernel-2d0640b47da74cff7c11642c798d40de861ed524.tar.gz kernel-2d0640b47da74cff7c11642c798d40de861ed524.zip | |
hrtimers: Notify hrtimer users of switches to NOHZ mode
When NOHZ=y and high res timers are disabled (via cmdline or
Kconfig) tick_nohz_switch_to_nohz() will notify the user about
switching into NOHZ mode. Nothing is printed for the case where
HIGH_RES_TIMERS=y. Fix this for the HIGH_RES_TIMERS=y case by
duplicating the printk from the low res NOHZ path in the high
res NOHZ path.
This confused me since I was thinking 'dmesg | grep -i NOHZ' would
tell me if NOHZ was enabled, but if I have hrtimers there is
nothing.
Signed-off-by: Stephen Boyd <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Cc: Peter Zijlstra <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/rtc/interface.c')
0 files changed, 0 insertions, 0 deletions
