x86: smpboot - check if we have ESR register in wakeup_secondary_cpu
authorCyrill Gorcunov <gorcunov@gmail.com>
Sun, 14 Sep 2008 17:58:49 +0000 (21:58 +0400)
committerIngo Molnar <mingo@elte.hu>
Mon, 13 Oct 2008 08:21:14 +0000 (10:21 +0200)
commit59ef48a58e59cc27255d526ae3fa60ddcd977208
tree4ea0c5025cc1d072ccca7c91dfe64491841985c8
parent33f8c40a30ae99e971d068c9ec6088e713c46f5f
x86: smpboot - check if we have ESR register in wakeup_secondary_cpu

We should check if we have ESR register before reading from it.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: "Maciej W. Rozycki" <macro@linux-mips.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/smpboot.c