]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] nss,initrd: kernel image and initrd must be in different segments
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 24 Aug 2011 15:15:09 +0000 (17:15 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 24 Aug 2011 15:15:23 +0000 (17:15 +0200)
commit6d65ad71d135fb4a2426336b666321dbdd6077b7
tree32dce32a4ec1c036093880c28157a77253041f6e
parent6c83da9776feb5f010ae3a7669dee6074830a3ea
[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