Skip to content
Commit 9ab181fa authored by Don Zickus's avatar Don Zickus Committed by Ingo Molnar
Browse files

x86: Only call smp_processor_id in non-preempt cases



There are some paths that walk the die_chain with preemption on.
Make sure we are in an NMI call before we start doing anything.

This was triggered by do_general_protection calling notify_die
with DIE_GPF.

Reported-by: default avatarJan Kiszka <jan.kiszka@web.de>
Signed-off-by: default avatarDon Zickus <dzickus@redhat.com>
LKML-Reference: <1294198689-15447-1-git-send-email-dzickus@redhat.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent aef1b9ce
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment