]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
locking/jump_labels: Update bug_at() boot message
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 10 Jan 2017 16:43:54 +0000 (18:43 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 12 Jan 2017 08:43:07 +0000 (09:43 +0100)
commit6e03f66c001790d6ca853c68a56c87460bc86467
tree8586629cfbe4676bde7eabee965c26d55a41631a
parent75437bb304b20a2b350b9a8e9f9238d5e24e12ba
locking/jump_labels: Update bug_at() boot message

First of all, %*ph specifier allows to dump data in hex format using the
pointer to a buffer. This is suitable to use here.

Besides that Thomas suggested to move it to critical level and replace __FILE__
by explicit mention of "jumplabel".

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20170110164354.47372-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/jump_label.c