diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-04-14 15:36:25 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-04-14 15:37:26 +0200 |
commit | 88e012856d05a5d00ae80c691fb7aa5adda268d7 (patch) | |
tree | 2f0fccb3ffa9eaa3c93ae81f6031c083228106c1 /arch/s390/kernel/head64.S | |
parent | 52db45c3c55a0fca53077dfd7b123e30cd210aad (diff) | |
download | blackbird-op-linux-88e012856d05a5d00ae80c691fb7aa5adda268d7.tar.gz blackbird-op-linux-88e012856d05a5d00ae80c691fb7aa5adda268d7.zip |
[S390] smp: fix cpu_possible_map initialization
The cpu_possible_map by default is initialized with all ones in s390.
If the kernel paramert possible_cpus=<x> is passed the cpu_possible_map
is supposed to have x bits set.
However the current code just sets the x bits without clearing the NR_CPUS
bits that were already set. So we end up with an unchanged map that has
all bits set.
To fix this just clear the map before setting any new bits.
This broke with def6cfb70bab83c0094bc0cedd27c4eda563043e
"[S390] cpumask: Use accessors code."
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/head64.S')
0 files changed, 0 insertions, 0 deletions