mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-15 21:30:43 +00:00
x86_64: Fix APIC typo
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Chris Wright <chrisw@sous-sol.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
7ff984785c
commit
f40f31bfe1
@ -990,8 +990,8 @@ int setup_profiling_timer(unsigned int multiplier)
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
void setup_APIC_extened_lvt(unsigned char lvt_off, unsigned char vector,
|
||||
unsigned char msg_type, unsigned char mask)
|
||||
void setup_APIC_extended_lvt(unsigned char lvt_off, unsigned char vector,
|
||||
unsigned char msg_type, unsigned char mask)
|
||||
{
|
||||
unsigned long reg = (lvt_off << 4) + K8_APIC_EXT_LVT_BASE;
|
||||
unsigned int v = (mask << 16) | (msg_type << 8) | vector;
|
||||
|
@ -157,9 +157,9 @@ void __cpuinit mce_amd_feature_init(struct cpuinfo_x86 *c)
|
||||
high |= K8_APIC_EXT_LVT_ENTRY_THRESHOLD << 20;
|
||||
wrmsr(address, low, high);
|
||||
|
||||
setup_APIC_extened_lvt(K8_APIC_EXT_LVT_ENTRY_THRESHOLD,
|
||||
THRESHOLD_APIC_VECTOR,
|
||||
K8_APIC_EXT_INT_MSG_FIX, 0);
|
||||
setup_APIC_extended_lvt(K8_APIC_EXT_LVT_ENTRY_THRESHOLD,
|
||||
THRESHOLD_APIC_VECTOR,
|
||||
K8_APIC_EXT_INT_MSG_FIX, 0);
|
||||
|
||||
threshold_defaults.address = address;
|
||||
threshold_restart_bank(&threshold_defaults, 0, 0);
|
||||
|
@ -83,8 +83,8 @@ extern void disable_APIC_timer(void);
|
||||
extern void enable_APIC_timer(void);
|
||||
extern void setup_apic_routing(void);
|
||||
|
||||
extern void setup_APIC_extened_lvt(unsigned char lvt_off, unsigned char vector,
|
||||
unsigned char msg_type, unsigned char mask);
|
||||
extern void setup_APIC_extended_lvt(unsigned char lvt_off, unsigned char vector,
|
||||
unsigned char msg_type, unsigned char mask);
|
||||
|
||||
extern int apic_is_clustered_box(void);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user