Add a temporary hack to attach only the first thread of every core for
authorkettenis <kettenis@openbsd.org>
Sat, 12 Jul 2008 14:26:07 +0000 (14:26 +0000)
committerkettenis <kettenis@openbsd.org>
Sat, 12 Jul 2008 14:26:07 +0000 (14:26 +0000)
commitd7848516b7336c960196d6e969d5c7c65a79c61b
tree9c4e81ca792d273d6dc4cba81e963e821e30151c
parentdc976c17b82344796b381bea122a0fb3966267f5
Add a temporary hack to attach only the first thread of every core for
MULTIPROCESSOR kernels.  We map 'struct cpuinfo' at the same virtual
address on every processor, but since threads on the same core share
an MMU this doesn't quite work.  With the hack we are at least able to
use the other core (and any additional processors).
sys/arch/sparc64/conf/GENERIC.MP
sys/arch/sparc64/sparc64/cpu.c