diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2013-04-25 20:31:43 (GMT) |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2013-05-16 09:09:14 (GMT) |
commit | 5d33b883aed81c6fbcd09c6f7c3619eee850a7e2 (patch) | |
tree | a9bcc623b0ecc99bf9fc7f2b30be5a8a2a56bc6d /mm/fadvise.c | |
parent | fc1f7d5606487ae28d6c84e95401952927d7379e (diff) | |
download | linux-5d33b883aed81c6fbcd09c6f7c3619eee850a7e2.tar.xz |
clocksource: Always verify highres capability
If a clocksource has a (wrong) high rating, but can't be used as a
timebase for oneshot tick mode, it is unconditionally selected even
when the system is already in oneshot tick mode. This causes full
system failure.
Verify the clocksource selection against the oneshot mode.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: John Stultz <john.stultz@linaro.org>
Cc: Magnus Damm <magnus.damm@gmail.com>
Link: http://lkml.kernel.org/r/20130425143435.635040849@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'mm/fadvise.c')
0 files changed, 0 insertions, 0 deletions