diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2008-07-24 07:52:29 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-24 07:52:29 -0400 |
commit | d4c63ec060f3315653c0ae5bc3a7fe2419a2282f (patch) | |
tree | 6dad9a1617786172eb142f4cef8baf7a17bed05f /arch/x86/kernel/apic_64.c | |
parent | 36a028de785c6e6f15ac84f8b3b087b89137ea26 (diff) |
x86: apic unification - merge down enable_NMI_through_LVT0
No code change on binary level.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: macro@linux-mips.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/apic_64.c')
-rw-r--r-- | arch/x86/kernel/apic_64.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/kernel/apic_64.c b/arch/x86/kernel/apic_64.c index 4fa2a8620c26..7615b4b9c3f3 100644 --- a/arch/x86/kernel/apic_64.c +++ b/arch/x86/kernel/apic_64.c | |||
@@ -150,6 +150,11 @@ void __cpuinit enable_NMI_through_LVT0(void) | |||
150 | 150 | ||
151 | /* unmask and set to NMI */ | 151 | /* unmask and set to NMI */ |
152 | v = APIC_DM_NMI; | 152 | v = APIC_DM_NMI; |
153 | |||
154 | /* Level triggered for 82489DX (32bit mode) */ | ||
155 | if (!lapic_is_integrated()) | ||
156 | v |= APIC_LVT_LEVEL_TRIGGER; | ||
157 | |||
153 | apic_write(APIC_LVT0, v); | 158 | apic_write(APIC_LVT0, v); |
154 | } | 159 | } |
155 | 160 | ||