From: Heiko Carstens Date: Mon, 14 Jul 2008 07:58:55 +0000 (+0200) Subject: [S390] initrd vs bss section clearing. X-Git-Tag: v2.6.27-rc1~1112^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=761cdf6aacdb76f819050f4938cdab1f4cdcb945;p=pandora-kernel.git [S390] initrd vs bss section clearing. In case the initrd is located within the bss section it will be overwritten when the section is cleared. To prevent this just move the initrd right behind the bss section if it starts within the section. The current code already moves the initrd if the bootmem allocator bitmap would overwrite it. With this patch we should be safe against initrd corruptions. Cc: Peter Oberparleiter Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed