diff options
author | Peter Zijlstra <peterz@infradead.org> | 2015-07-24 14:55:40 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-08-03 11:34:13 +0200 |
commit | a1efb01feca597b2abbc89873b40ef8ec6690168 (patch) | |
tree | af073fc563ab4bcd383999c1adc2313b1a62da48 /fs | |
parent | 76b235c6bcb16062d663e2ee96db0b69f2e6bc14 (diff) | |
download | linux-stable-a1efb01feca597b2abbc89873b40ef8ec6690168.tar.gz linux-stable-a1efb01feca597b2abbc89873b40ef8ec6690168.tar.bz2 linux-stable-a1efb01feca597b2abbc89873b40ef8ec6690168.zip |
jump_label, locking/static_keys: Rename JUMP_LABEL_TYPE_* and related helpers to the static_key* pattern
Rename the JUMP_LABEL_TYPE_* macros to be JUMP_TYPE_* and move the
inline helpers into kernel/jump_label.c, since that's the only place
they're ever used.
Also rename the helpers where it's all about static keys.
This is the second step in removing the naming confusion that has led to
a stream of avoidable bugs such as:
a833581e372a ("x86, perf: Fix static_key bug in load_mm_cr4()")
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions