Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145637
b: refs/heads/master
c: cec6be6
h: refs/heads/master
i:
  145635: fe26ed1
v: v3
  • Loading branch information
Cyrill Gorcunov authored and Ingo Molnar committed May 11, 2009
1 parent a89e1bc commit ac5f75e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 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: 97a52714658cd959a3cfa35c5b6f489859f0204b
refs/heads/master: cec6be6d1069d697beb490bbb40a290d5ff554a2
17 changes: 9 additions & 8 deletions trunk/arch/x86/kernel/apic/apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -1587,13 +1587,6 @@ void __init init_apic_mappings(void)
} else
apic_phys = mp_lapic_addr;

/* lets check if we may NOP'ify apic operations */
if (!cpu_has_apic) {
pr_info("APIC: disable apic facility\n");
apic_disable();
return;
}

/*
* acpi lapic path already maps that address in
* acpi_register_lapic_address()
Expand All @@ -1602,7 +1595,15 @@ void __init init_apic_mappings(void)
set_fixmap_nocache(FIX_APIC_BASE, apic_phys);

apic_printk(APIC_VERBOSE, "mapped APIC to %08lx (%08lx)\n",
APIC_BASE, apic_phys);
APIC_BASE, apic_phys);

/* lets check if we may NOP'ify apic operations */
if (!cpu_has_apic) {
pr_info("APIC: disable apic facility\n");
apic_disable();
return;
}

/*
* Fetch the APIC ID of the BSP in case we have a
* default configuration (or the MP table is broken).
Expand Down

0 comments on commit ac5f75e

Please sign in to comment.