]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[S390] nss,initrd: kernel image and initrd must be in different segments
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 19 Aug 2011 07:10:17 +0000 (09:10 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 19 Aug 2011 07:10:27 +0000 (09:10 +0200)
commit2ddee10eb8a0a728cb34cc3af52ad65ca3256496
tree098ccfb8d2596d620da63423a1af79da461d9c22
parent5c80c71b9a0ec518b4b58d2a61de01a04f4a4453
[S390] nss,initrd: kernel image and initrd must be in different segments

When IPL'ing from a block device and an NSS should be created we must
make sure that the kernel image and the initrd are in different 1MB
segments. Otherwise creating the NSS will fail.
So we make sure the initrd is 4MB behind the end of the kernel image
like we do already when IPL via the VM reader is performed.

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