OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74dc51a
)
x86: don't read maxlvt before checking if APIC is mapped
author
Chuck Ebbert
<cebbert@redhat.com>
Tue, 20 May 2008 22:18:12 +0000
(18:18 -0400)
committer
Thomas Gleixner
<tglx@linutronix.de>
Fri, 23 May 2008 12:08:06 +0000
(14:08 +0200)
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
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/apic_64.c
b/arch/x86/kernel/apic_64.c
index
5910020
..
0633cfd
100644
(file)
--- a/
arch/x86/kernel/apic_64.c
+++ b/
arch/x86/kernel/apic_64.c
@@
-534,7
+534,7
@@
int setup_profiling_timer(unsigned int multiplier)
*/
void clear_local_APIC(void)
{
- int maxlvt
= lapic_get_maxlvt()
;
+ int maxlvt;
u32 v;
/* APIC hasn't been mapped yet */