diff options
Diffstat (limited to 'arch/x86/kernel/apic/apic.c')
-rw-r--r-- | arch/x86/kernel/apic/apic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c index 1ee966f4ae9..0e6543fafb5 100644 --- a/arch/x86/kernel/apic/apic.c +++ b/arch/x86/kernel/apic/apic.c | |||
@@ -395,7 +395,7 @@ static void __setup_APIC_LVTT(unsigned int clocks, int oneshot, int irqen) | |||
395 | 395 | ||
396 | static void setup_APIC_eilvt(u8 lvt_off, u8 vector, u8 msg_type, u8 mask) | 396 | static void setup_APIC_eilvt(u8 lvt_off, u8 vector, u8 msg_type, u8 mask) |
397 | { | 397 | { |
398 | unsigned long reg = (lvt_off << 4) + APIC_EILVT0; | 398 | unsigned long reg = (lvt_off << 4) + APIC_EILVTn(0); |
399 | unsigned int v = (mask << 16) | (msg_type << 8) | vector; | 399 | unsigned int v = (mask << 16) | (msg_type << 8) | vector; |
400 | 400 | ||
401 | apic_write(reg, v); | 401 | apic_write(reg, v); |