]> err.no Git - linux-2.6/commit
x86: don't read maxlvt before checking if APIC is mapped
authorChuck Ebbert <cebbert@redhat.com>
Tue, 20 May 2008 22:18:12 +0000 (18:18 -0400)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 May 2008 12:08:06 +0000 (14:08 +0200)
commit2584a82deed7196f48066f1b1a7fad4ec5bea961
tree483d1bfc53dc98e4a4ab3b070439028276532fce
parent74dc51a3de06aa516e3b9fdc4017b2aeb38bf44b
x86: don't read maxlvt before checking if APIC is mapped

A check for unmapped apic was added before reading maxlvt but the early
read of maxlvt wasn't removed.

Signed-off-by: Chuck Ebbert <cebbert@redhat.com>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@kernel.org
arch/x86/kernel/apic_64.c