diff options
author | Andi Kleen <ak@suse.de> | 2005-05-16 21:53:21 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-17 07:59:13 -0700 |
commit | a158608bf4c6260caf26089b00a000851e11357a (patch) | |
tree | bccf6f173d6ddcb24aff243573086475b25dfe93 /include/asm-x86_64 | |
parent | 637716a3825e186555361574aa1fa3c0ebf8018b (diff) | |
download | talos-obmc-linux-a158608bf4c6260caf26089b00a000851e11357a.tar.gz talos-obmc-linux-a158608bf4c6260caf26089b00a000851e11357a.zip |
[PATCH] x86_64/i386: fix defaults for physical/core id in /proc/cpuinfo
Last round hopefully of cpu_core_id changes hopefully fow now:
- Always initialize cpu_core_id for all CPUs, even when no dual core setup
is detected. This prevents funny /proc/cpuinfo output
- Do the same with phys_proc_id[] even when no HyperThreading - dito.
- Use the CPU APIC-ID from CPUID 1 instead of the linux virtual CPU number
to identify the core for AMD dual core setups.
Patch for i386/x86-64.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-x86_64')
0 files changed, 0 insertions, 0 deletions