]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: do_boot_cpu - check if we have ESR register
authorCyrill Gorcunov <gorcunov@gmail.com>
Wed, 22 Oct 2008 14:00:09 +0000 (18:00 +0400)
committerIngo Molnar <mingo@elte.hu>
Wed, 22 Oct 2008 14:56:16 +0000 (16:56 +0200)
commitdb96b0a0e4158806fcf03945a870f9320e6bac9b
tree3697acccd698b9dcfc51995ed3855116863bb67d
parent8d433c407dea248c8db09edbc0b3c245977d596f
x86: do_boot_cpu - check if we have ESR register

Impact: fix APIC IRQ irregularities on certain older boxes

We should touch the APIC ESR register if only we have it.

The patch fixes the problem mentioned by Max Kellermann:

http://lkml.org/lkml/2008/10/17/147

Bisected-by: Max Kellermann <mk@cm4all.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
[ mingo@elte.hu: build fix ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/smpboot.c