diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2007-02-21 04:55:29 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-02-21 04:55:29 -0500 |
commit | 229d9c6dfb2900559449575a56dc8abcaf0bce9d (patch) | |
tree | d06ca8602d57e8549aa330d7d10928dd9048d71b /arch/s390 | |
parent | 2b9329367504d19c7c166c5aec557d070caccd70 (diff) |
[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 <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | 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 5d02e48c72e0..afca1c6f4d21 100644 --- a/arch/s390/kernel/early.c +++ b/arch/s390/kernel/early.c | |||
@@ -110,7 +110,7 @@ static inline void create_kernel_nss(void) { } | |||
110 | */ | 110 | */ |
111 | static noinline __init void clear_bss_section(void) | 111 | static noinline __init void clear_bss_section(void) |
112 | { | 112 | { |
113 | memset(__bss_start, 0, _end - __bss_start); | 113 | memset(__bss_start, 0, __bss_stop - __bss_start); |
114 | } | 114 | } |
115 | 115 | ||
116 | /* | 116 | /* |