cpuidle: Use local_clock_noinstr()
authorPeter Zijlstra <peterz@infradead.org>
Fri, 19 May 2023 10:21:11 +0000 (12:21 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 5 Jun 2023 19:11:09 +0000 (21:11 +0200)
commite6a15fa9ea8372ad4db973191233f743ae1081d5
tree164eb72493c6e2f23b7cb2ef24aedbb97849988f
parentfb7d4948c4da2dbd26da4b7ec76bbd2f19ff862a
cpuidle: Use local_clock_noinstr()

With the introduction of local_clock_noinstr(), local_clock() itself
is no longer marked noinstr, use the correct function.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Rafael J. Wysocki <rafael@kernel.org>
Tested-by: Michael Kelley <mikelley@microsoft.com> # Hyper-V
Link: https://lore.kernel.org/r/20230519102716.045980863@infradead.org
drivers/cpuidle/cpuidle.c
drivers/cpuidle/poll_state.c