Commit f40f31bf authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Linus Torvalds

x86_64: Fix APIC typo

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarChris Wright <chrisw@sous-sol.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7ff98478
...@@ -990,7 +990,7 @@ int setup_profiling_timer(unsigned int multiplier) ...@@ -990,7 +990,7 @@ int setup_profiling_timer(unsigned int multiplier)
return -EINVAL; return -EINVAL;
} }
void setup_APIC_extened_lvt(unsigned char lvt_off, unsigned char vector, void setup_APIC_extended_lvt(unsigned char lvt_off, unsigned char vector,
unsigned char msg_type, unsigned char mask) unsigned char msg_type, unsigned char mask)
{ {
unsigned long reg = (lvt_off << 4) + K8_APIC_EXT_LVT_BASE; unsigned long reg = (lvt_off << 4) + K8_APIC_EXT_LVT_BASE;
......
...@@ -157,7 +157,7 @@ void __cpuinit mce_amd_feature_init(struct cpuinfo_x86 *c) ...@@ -157,7 +157,7 @@ void __cpuinit mce_amd_feature_init(struct cpuinfo_x86 *c)
high |= K8_APIC_EXT_LVT_ENTRY_THRESHOLD << 20; high |= K8_APIC_EXT_LVT_ENTRY_THRESHOLD << 20;
wrmsr(address, low, high); wrmsr(address, low, high);
setup_APIC_extened_lvt(K8_APIC_EXT_LVT_ENTRY_THRESHOLD, setup_APIC_extended_lvt(K8_APIC_EXT_LVT_ENTRY_THRESHOLD,
THRESHOLD_APIC_VECTOR, THRESHOLD_APIC_VECTOR,
K8_APIC_EXT_INT_MSG_FIX, 0); K8_APIC_EXT_INT_MSG_FIX, 0);
......
...@@ -83,7 +83,7 @@ extern void disable_APIC_timer(void); ...@@ -83,7 +83,7 @@ extern void disable_APIC_timer(void);
extern void enable_APIC_timer(void); extern void enable_APIC_timer(void);
extern void setup_apic_routing(void); extern void setup_apic_routing(void);
extern void setup_APIC_extened_lvt(unsigned char lvt_off, unsigned char vector, extern void setup_APIC_extended_lvt(unsigned char lvt_off, unsigned char vector,
unsigned char msg_type, unsigned char mask); unsigned char msg_type, unsigned char mask);
extern int apic_is_clustered_box(void); extern int apic_is_clustered_box(void);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment