Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 112732
b: refs/heads/master
c: fa6b95f
h: refs/heads/master
v: v3
  • Loading branch information
Cyrill Gorcunov authored and Ingo Molnar committed Aug 19, 2008
1 parent 9823fac commit 38239e1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1b313f4a6d7bee7b2c034b3f1e203bc360a71cca
refs/heads/master: fa6b95fc7c6f2f3eb1560e1f33cd13197546c5a0
6 changes: 4 additions & 2 deletions trunk/arch/x86/kernel/apic_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -1155,13 +1155,15 @@ void __cpuinit setup_local_APIC(void)

void __cpuinit end_local_APIC_setup(void)
{
unsigned long value;

lapic_setup_esr();

#ifdef CONFIG_X86_32
unsigned int value;
/* Disable the local apic timer */
value = apic_read(APIC_LVTT);
value |= (APIC_LVT_MASKED | LOCAL_TIMER_VECTOR);
apic_write(APIC_LVTT, value);
#endif

setup_apic_nmi_watchdog(NULL);
apic_pm_activate();
Expand Down
9 changes: 9 additions & 0 deletions trunk/arch/x86/kernel/apic_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -1014,6 +1014,15 @@ void __cpuinit setup_local_APIC(void)
void __cpuinit end_local_APIC_setup(void)
{
lapic_setup_esr();

#ifdef CONFIG_X86_32
unsigned int value;
/* Disable the local apic timer */
value = apic_read(APIC_LVTT);
value |= (APIC_LVT_MASKED | LOCAL_TIMER_VECTOR);
apic_write(APIC_LVTT, value);
#endif

setup_apic_nmi_watchdog(NULL);
apic_pm_activate();
}
Expand Down

0 comments on commit 38239e1

Please sign in to comment.