Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 112722
b: refs/heads/master
c: d5e629a
h: refs/heads/master
v: v3
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed Aug 18, 2008
1 parent 4f4f063 commit ba9309e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cf9768d7514d59b3179a886c4a47908d72e6cf76
refs/heads/master: d5e629a6f88137fb77c4cc857be5ea7c3f27110d
2 changes: 2 additions & 0 deletions trunk/arch/x86/kernel/apic_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -1446,6 +1446,7 @@ static int lapic_resume(struct sys_device *dev)
enable_x2apic();
else
#endif
{
/*
* Make sure the APICBASE points to the right address
*
Expand All @@ -1456,6 +1457,7 @@ static int lapic_resume(struct sys_device *dev)
l &= ~MSR_IA32_APICBASE_BASE;
l |= MSR_IA32_APICBASE_ENABLE | mp_lapic_addr;
wrmsr(MSR_IA32_APICBASE, l, h);
}

apic_write(APIC_LVTERR, ERROR_APIC_VECTOR | APIC_LVT_MASKED);
apic_write(APIC_ID, apic_pm_state.apic_id);
Expand Down

0 comments on commit ba9309e

Please sign in to comment.