diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-03-09 00:09:19 (GMT) |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 09:14:24 (GMT) |
commit | 8935dced547afbf37d0fcfcac9a3556494e53104 (patch) | |
tree | 0ae802875c73e99b86e4f90be6e953ec0c528dea /include/asm-sparc64 | |
parent | 17b0e199a10184d8c5bbbd79a4cee993bb1fb257 (diff) | |
download | linux-8935dced547afbf37d0fcfcac9a3556494e53104.tar.xz |
[SPARC64]: Add SMT scheduling support for Niagara.
The mapping is a simple "(cpuid >> 2) == core" for now.
Later we'll add more sophisticated code that will walk
the sun4v machine description and figure this out from
there.
We should also add core mappings for jaguar and panther
processors.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc64')
-rw-r--r-- | include/asm-sparc64/smp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-sparc64/smp.h b/include/asm-sparc64/smp.h index ad1d35a..89d86ec 100644 --- a/include/asm-sparc64/smp.h +++ b/include/asm-sparc64/smp.h @@ -33,6 +33,8 @@ extern cpumask_t phys_cpu_present_map; #define cpu_possible_map phys_cpu_present_map +extern cpumask_t cpu_sibling_map[NR_CPUS]; + /* * General functions that each host system must provide. */ |