diff options
author | Andi Kleen <ak@suse.de> | 2005-08-08 18:47:19 +0200 |
---|---|---|
committer | Chris Wright <chrisw@osdl.org> | 2005-08-14 17:20:08 -0700 |
commit | 4491f6fe1c32fc8de79ceb3b57e90647aaca8cdb (patch) | |
tree | ff03cf223f40e518da9256c0857062e80eda6c53 | |
parent | 9becc8e36ec9561fde0fbc17d09d707e36277d0a (diff) |
[PATCH] Fix SRAT for non dual core AMD systems
Patch for 2.6.12-STABLE
This fixes a bug in SRAT handling on AMD systems that was introduced
with the dual core support. It would be disabled on CPUs without dual core.
Just drop the bogus check.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | arch/x86_64/kernel/setup.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86_64/kernel/setup.c b/arch/x86_64/kernel/setup.c index 99f038ede23c..6c4caed19b6b 100644 --- a/arch/x86_64/kernel/setup.c +++ b/arch/x86_64/kernel/setup.c @@ -729,8 +729,6 @@ static void __init amd_detect_cmp(struct cpuinfo_x86 *c) int cpu = smp_processor_id(); int node = 0; unsigned bits; - if (c->x86_num_cores == 1) - return; bits = 0; while ((1 << bits) < c->x86_num_cores) |