From: Thomas Gleixner Date: Fri, 12 Jun 2009 09:29:27 +0000 (+0200) Subject: clocksource: prevent selection of low resolution clocksourse also for nohz=on X-Git-Tag: v2.6.31-rc1~328^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd6d95d8449b7c9f415f26041e9ae173d387b6bd;p=pandora-kernel.git clocksource: prevent selection of low resolution clocksourse also for nohz=on commit 3f68535adad (clocksource: sanity check sysfs clocksource changes) prevents selection of non high resolution capable clocksources when high resolution mode is active, but did not take into account that the same rules apply for highres=off nohz=on. Check the tick device mode instead of hrtimer_hres_active() to verify whether the system needs to be protected from a switch to jiffies or other non highres capable clock sources. Reported-by: Luming Yu Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed