[PATCH] x86_64: 386/x86-64 Further AMD dual core fixes
authorAndi Kleen <ak@suse.de>
Fri, 20 May 2005 21:27:55 +0000 (14:27 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 20 May 2005 22:48:20 +0000 (15:48 -0700)
commitb41e29398a873945d02e0009ce7e57608fdb4042
treedc2e4cfd8cb20ce788bc341e9d734adbcebedd27
parentb39c4fab259b216148e705344a892c96efe1946d
[PATCH] x86_64: 386/x86-64 Further AMD dual core fixes

- Remove duplicated ifdef
- Make core_id match what Intel uses
- Initialize phys_proc_id correctly for non DC case
- Handle non power of two core numbers.

Fixes for both i386 and 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>
arch/i386/kernel/cpu/amd.c
arch/i386/kernel/cpu/common.c
arch/x86_64/kernel/setup.c