jump_label: Add jump_entry_key() helper
authorPeter Zijlstra <peterz@infradead.org>
Fri, 24 Jul 2015 13:02:27 +0000 (15:02 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 3 Aug 2015 09:34:14 +0000 (11:34 +0200)
commit7dcfd915bae51571bcc339d8e3dda027287880e5
treefca6824ca88c535b73a56513a9df40e3a5f65f50
parenta1efb01feca597b2abbc89873b40ef8ec6690168
jump_label: Add jump_entry_key() helper

Avoid some casting with a helper, also prepares the way for
overloading the LSB of jump_entry::key.

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>
kernel/jump_label.c