diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-08-12 23:31:24 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2021-08-12 23:34:40 +0300 |
commit | 9482fd71dbb8f0d1a61821a83e467dc0a9d7b429 (patch) | |
tree | 3b84411e7abe899ca1cfdc42d6117d58cd7aedc7 /include/crypto/cast5.h | |
parent | 1e7f7fbcd40c69d23e3fe641ead9f3dc128fa8aa (diff) | |
download | linux-9482fd71dbb8f0d1a61821a83e467dc0a9d7b429.tar.xz |
hrtimer: Use raw_cpu_ptr() in clock_was_set()
clock_was_set() can be invoked from preemptible context. Use raw_cpu_ptr()
to check whether high resolution mode is active or not. It does not matter
whether the task migrates after acquiring the pointer.
Fixes: e71a4153b7c2 ("hrtimer: Force clock_was_set() handling for the HIGHRES=n, NOHZ=y case")
Reported-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/875ywacsmb.ffs@tglx
Diffstat (limited to 'include/crypto/cast5.h')
0 files changed, 0 insertions, 0 deletions