]> 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>
Mon, 22 Aug 2011 06:59:06 +0000 (08:59 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 22 Aug 2011 06:59:23 +0000 (08:59 +0200)
commit283f11bfbac85c8fdcd688c34bd76e383d90c01e
treed9087c26fd4faf00fb25f1b0ba4ebbb6b85b0729
parent3210d190dcb717c328d74f8c3f69ec717d665b40
[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