projects
/
cascardo
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b93293
)
[S390] bss section clearing.
author
Heiko Carstens
<heiko.carstens@de.ibm.com>
Wed, 21 Feb 2007 09:55:29 +0000
(10:55 +0100)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Wed, 21 Feb 2007 09:55:29 +0000
(10:55 +0100)
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>
arch/s390/kernel/early.c
patch
|
blob
|
history
diff --git
a/arch/s390/kernel/early.c
b/arch/s390/kernel/early.c
index
5d02e48
..
afca1c6
100644
(file)
--- 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);
}
/*