Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=229d9c6dfb2900559449575a56dc8abcaf0bce9d Commit: 229d9c6dfb2900559449575a56dc8abcaf0bce9d Parent: 2b9329367504d19c7c166c5aec557d070caccd70 Author: Heiko Carstens <[EMAIL PROTECTED]> AuthorDate: Wed Feb 21 10:55:29 2007 +0100 Committer: Martin Schwidefsky <[EMAIL PROTECTED]> CommitDate: Wed Feb 21 10:55:29 2007 +0100
[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 <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- arch/s390/kernel/early.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/s390/kernel/early.c b/arch/s390/kernel/early.c index 5d02e48..afca1c6 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); } /* - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html