diff options
author | David S. Miller <davem@hutch.davemloft.net> | 2007-06-04 20:01:39 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-06-05 00:50:00 -0400 |
commit | f78eae2e6f5d1eb05f76a45486286445b916bd92 (patch) | |
tree | 0fa81e104ad9891afcaf18cdcb413c4a0f2ee8da /arch/sparc64/kernel/prom.c | |
parent | d887ab3a9b1899f88b8cfba531e726b5fb2ebd14 (diff) |
[SPARC64]: Proper multi-core scheduling support.
The scheduling domain hierarchy is:
all cpus -->
cpus that share an instruction cache -->
cpus that share an integer execution unit
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/prom.c')
-rw-r--r-- | arch/sparc64/kernel/prom.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/prom.c b/arch/sparc64/kernel/prom.c index dad4b3ba705f..928aba3d0db3 100644 --- a/arch/sparc64/kernel/prom.c +++ b/arch/sparc64/kernel/prom.c | |||
@@ -1800,6 +1800,7 @@ static void __init of_fill_in_cpu_data(void) | |||
1800 | 1800 | ||
1801 | cpu_data(cpuid).core_id = 0; | 1801 | cpu_data(cpuid).core_id = 0; |
1802 | } | 1802 | } |
1803 | cpu_data(cpuid).proc_id = -1; | ||
1803 | 1804 | ||
1804 | #ifdef CONFIG_SMP | 1805 | #ifdef CONFIG_SMP |
1805 | cpu_set(cpuid, cpu_present_map); | 1806 | cpu_set(cpuid, cpu_present_map); |