[SPARC64]: Add SMT scheduling support for Niagara.
authorDavid S. Miller <davem@sunset.davemloft.net>
Thu, 9 Mar 2006 00:09:19 +0000 (16:09 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:14:24 +0000 (01:14 -0800)
commit8935dced547afbf37d0fcfcac9a3556494e53104
tree0ae802875c73e99b86e4f90be6e953ec0c528dea
parent17b0e199a10184d8c5bbbd79a4cee993bb1fb257
[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>
arch/sparc64/Kconfig
arch/sparc64/kernel/smp.c
include/asm-sparc64/smp.h