[PATCH] alpha: set cpu_possible_map much earlier
commit328c2a8a39e1ba43a6e54e43fc752f7035779561
authorIvan Kokshaysky <ink@jurassic.park.msu.ru>
Wed, 8 Feb 2006 08:55:06 +0000 (8 11:55 +0300)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 8 Feb 2006 15:57:37 +0000 (8 07:57 -0800)
tree4d59799c3208fe2c08ceb0faad7a6f3db0e975df
parent9934a7939e1cdce62ece9ef7d25ebb3c55547fac
[PATCH] alpha: set cpu_possible_map much earlier

All the percpu data structure walkers want cpu_possible_map to be
initialized early, but alpha instead populated "hwrpb_cpu_present_mask"
early in setup_smp(), and then initialized cpu_possible_map only much
later.

Thanks go to Heiko Carstens and Dipankar Sarma for noticing.

This fixes it and we can get rid of hwrpb_cpu_present_mask entirely.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/alpha/kernel/smp.c