]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "locking/local_lock: Make the empty local_lock_*() function a macro."
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Mon, 28 Mar 2022 14:58:09 +0000 (16:58 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 5 Apr 2022 07:59:39 +0000 (09:59 +0200)
commitbfe8b4ad98f2c187b6d5814531126a7511b07d3a
treeff7db6ba3276c88df41fe4d9ad5fb8f67613f78a
parent4938813a2c2ab4506a1153e7143f502d7ccdcc9b
Revert "locking/local_lock: Make the empty local_lock_*() function a macro."

With volatile removed from arch_raw_cpu_ptr() the compiler no longer
creates the per-CPU reference. The usage of the macro can be reverted
now.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220328145810.86783-3-bigeasy@linutronix.de
include/linux/local_lock_internal.h