]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] smp: fix lowcore allocation
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 24 Mar 2010 10:49:51 +0000 (11:49 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Wed, 24 Mar 2010 10:49:53 +0000 (11:49 +0100)
commit6444f9417e7f8b22c3a89ce5f344d52692e3574d
tree9c720858f987d8c60fdf3b8a5f70fb7719edd9d1
parent65f10ff7375b8c50c13844ee06ff61e0e2b7debf
[S390] smp: fix lowcore allocation

The intermediate lowcore for CONFIG_SMP is allocated using a call to
__alloc_bootmem() with a goal of 0. That however doesn't guarantee that
the allocated piece of memory is below 2GB.
Instead we should call __alloc_bootmem_low().

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/setup.c