From f622d598db3a6fb7001b6b63e7184272eb19db72 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sat, 26 Nov 2005 16:56:05 +0000 Subject: - Apply 11_24_a_s1_core.diff from https://openbios.org/roundup/linuxbios/issue24 - fix up for via epia-m git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2110 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/cpu/amd/dualcore/amd_sibling.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/cpu') diff --git a/src/cpu/amd/dualcore/amd_sibling.c b/src/cpu/amd/dualcore/amd_sibling.c index 4375a1d8a8..a8b3592b5f 100644 --- a/src/cpu/amd/dualcore/amd_sibling.c +++ b/src/cpu/amd/dualcore/amd_sibling.c @@ -49,10 +49,14 @@ void amd_sibling_init(device_t cpu, struct node_core_id id) cpu_path.type = DEVICE_PATH_APIC; cpu_path.u.apic.apic_id = (0x10 + i*0x10 + id.nodeid); + new = alloc_dev(cpu->bus, &cpu_path); if (!new) { continue; } + + new->path.u.apic.node_id = cpu->path.u.apic.node_id; + new->path.u.apic.core_id = i; /* Report what I have done */ printk_debug("CPU: %s %s\n", dev_path(new), new->enabled?"enabled":"disabled"); -- cgit v1.2.3