From: Don Zickus Date: Wed, 5 Jan 2011 03:38:07 +0000 (-0500) Subject: x86: Only call smp_processor_id in non-preempt cases X-Git-Tag: v2.6.38-rc1~490^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ab181fa9ff73a38fccd0a4f1c40a38dfe62b535;p=pandora-kernel.git 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: Jan Kiszka Signed-off-by: Don Zickus LKML-Reference: <1294198689-15447-1-git-send-email-dzickus@redhat.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed