no siblings yet

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1848 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Yinghai Lu 2005-01-10 19:20:38 +00:00
parent 0fe9902b50
commit 20a2a57092
1 changed files with 1 additions and 1 deletions

View File

@ -766,7 +766,7 @@ static unsigned int cpu_bus_scan(device_t dev, unsigned int max)
if (cpu) { if (cpu) {
if(enable_apic_ext_id) { 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<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; cpu->path.u.apic.apic_id += apic_id_offset;
} }
} }