diff options
author | Stefan Reinauer <stepan@openbios.org> | 2005-11-26 16:56:05 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2005-11-26 16:56:05 +0000 |
commit | f622d598db3a6fb7001b6b63e7184272eb19db72 (patch) | |
tree | 568d3113d95e791baa444ed1904c8e88bc803601 /src/cpu/amd | |
parent | b7627bca656d365615dbf2c06053430e83565f8d (diff) |
- 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
Diffstat (limited to 'src/cpu/amd')
-rw-r--r-- | src/cpu/amd/dualcore/amd_sibling.c | 4 |
1 files changed, 4 insertions, 0 deletions
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"); |