From: Heiko Carstens Date: Wed, 21 Feb 2007 09:55:29 +0000 (+0100) Subject: [S390] bss section clearing. X-Git-Tag: v2.6.21-rc2~71 X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=229d9c6dfb2900559449575a56dc8abcaf0bce9d;p=linux-2.6-omap-h63xx.git [S390] bss section clearing. Clear only memory from __bss_start to __bss_stop when clearing the bss section. Not until _end, which currently happens to be the same. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/kernel/early.c b/arch/s390/kernel/early.c index 5d02e48c72e..afca1c6f4d2 100644 --- a/arch/s390/kernel/early.c +++ b/arch/s390/kernel/early.c @@ -110,7 +110,7 @@ static inline void create_kernel_nss(void) { } */ static noinline __init void clear_bss_section(void) { - memset(__bss_start, 0, _end - __bss_start); + memset(__bss_start, 0, __bss_stop - __bss_start); } /*