Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 112713
b: refs/heads/master
c: 296cb95
h: refs/heads/master
i:
  112711: c4ae49e
v: v3
  • Loading branch information
Cyrill Gorcunov authored and Ingo Molnar committed Aug 15, 2008
1 parent 06f925d commit 2f0e0de
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 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: c93baa1ae51cdba25a5f5ad37b2348e700e75daf
refs/heads/master: 296cb9511dcc3895fda84d0cd5b411bd926e4bb3
3 changes: 1 addition & 2 deletions trunk/arch/x86/kernel/apic_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -915,8 +915,7 @@ void __init sync_Arb_IDs(void)
apic_wait_icr_idle();

apic_printk(APIC_DEBUG, "Synchronizing Arb IDs.\n");
apic_write(APIC_ICR,
APIC_DEST_ALLINC | APIC_INT_LEVELTRIG | APIC_DM_INIT);
apic_write(APIC_ICR, APIC_DEST_ALLINC | APIC_INT_LEVELTRIG | APIC_DM_INIT);
}

/*
Expand Down
10 changes: 6 additions & 4 deletions trunk/arch/x86/kernel/apic_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -742,8 +742,11 @@ int __init verify_local_APIC(void)
*/
void __init sync_Arb_IDs(void)
{
/* Unsupported on P4 - see Intel Dev. Manual Vol. 3, Ch. 8.6.1 */
if (modern_apic())
/*
* Unsupported on P4 - see Intel Dev. Manual Vol. 3, Ch. 8.6.1 And not
* needed on AMD.
*/
if (modern_apic() || boot_cpu_data.x86_vendor == X86_VENDOR_AMD)
return;

/*
Expand All @@ -752,8 +755,7 @@ void __init sync_Arb_IDs(void)
apic_wait_icr_idle();

apic_printk(APIC_DEBUG, "Synchronizing Arb IDs.\n");
apic_write(APIC_ICR, APIC_DEST_ALLINC | APIC_INT_LEVELTRIG
| APIC_DM_INIT);
apic_write(APIC_ICR, APIC_DEST_ALLINC | APIC_INT_LEVELTRIG | APIC_DM_INIT);
}

/*
Expand Down

0 comments on commit 2f0e0de

Please sign in to comment.