summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYinghai Lu <yinghailu@gmail.com>2005-01-10 19:20:38 +0000
committerYinghai Lu <yinghailu@gmail.com>2005-01-10 19:20:38 +0000
commit20a2a570929820b197476a48291973c0fb62d373 (patch)
tree619508f72682d62aa9665c5448700a563373c0ad
parent0fe9902b508c3421b9a55d5d2a7fc6154f7f2c77 (diff)
no siblings yet
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1848 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/northbridge/amd/amdk8/northbridge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/amd/amdk8/northbridge.c b/src/northbridge/amd/amdk8/northbridge.c
index 16f8919ced..a36e6b96a6 100644
--- a/src/northbridge/amd/amdk8/northbridge.c
+++ b/src/northbridge/amd/amdk8/northbridge.c
@@ -766,7 +766,7 @@ static unsigned int cpu_bus_scan(device_t dev, unsigned int max)
if (cpu) {
if(enable_apic_ext_id) {
if(cpu->path.u.apic.apic_id<apic_id_offset) { //all add offset except bsp cores
- if( (cpu->path.u.apic.apic_id > siblings) || (bsp_apic_id!=0) )
+ if( (cpu->path.u.apic.apic_id > 0) || (bsp_apic_id!=0) )
cpu->path.u.apic.apic_id += apic_id_offset;
}
}