diff options
author | Prarit Bhargava <prarit@redhat.com> | 2017-04-18 08:25:05 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-04-20 10:14:30 +0200 |
commit | 21173d0b4d2a0b9e9e5f3155cf2cfc5781a6f4b1 (patch) | |
tree | 1e4bb7afca69ba09dc80cfef31b5e75e995d30ec | |
parent | 73810a069120aa831debb4d967310ab900f628ad (diff) | |
download | linux-stable-21173d0b4d2a0b9e9e5f3155cf2cfc5781a6f4b1.tar.gz linux-stable-21173d0b4d2a0b9e9e5f3155cf2cfc5781a6f4b1.tar.bz2 linux-stable-21173d0b4d2a0b9e9e5f3155cf2cfc5781a6f4b1.zip |
sched/x86: Update reschedule warning text
Modify the reschedule warning to output the offline CPU number and
use a better debug message.
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Daniel Bristot de Oliveira <bristot@redhat.com>
Cc: Hidehiro Kawai <hidehiro.kawai.ez@hitachi.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt (VMware) <rostedt@goodmis.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Wanpeng Li <wanpeng.li@hotmail.com>
Link: http://lkml.kernel.org/r/1492518305-3808-1-git-send-email-prarit@redhat.com
[ Tweaked the warning message. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r-- | arch/x86/kernel/smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/smp.c b/arch/x86/kernel/smp.c index d3c66a15bbde..3cab8415389a 100644 --- a/arch/x86/kernel/smp.c +++ b/arch/x86/kernel/smp.c @@ -124,7 +124,7 @@ static bool smp_no_nmi_ipi = false; static void native_smp_send_reschedule(int cpu) { if (unlikely(cpu_is_offline(cpu))) { - WARN_ON(1); + WARN(1, "sched: Unexpected reschedule of offline CPU#%d!\n", cpu); return; } apic->send_IPI(cpu, RESCHEDULE_VECTOR); |