aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/char
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2018-07-25 13:27:27 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-10-09 11:21:03 +0200
commita2ac1bb1f3ddbad8388b0ba4edf28ff501009cea (patch)
tree46a34dd1a0414644a37d0590ab393bf5d00a8012 /drivers/s390/char
parents390/decompressor: rework uncompressed image info collection (diff)
downloadlinux-dev-a2ac1bb1f3ddbad8388b0ba4edf28ff501009cea.tar.xz
linux-dev-a2ac1bb1f3ddbad8388b0ba4edf28ff501009cea.zip
s390/decompressor: get rid of .bss usage
Using .bss in early code should be avoided. It might overlay initrd image or not yet be initialized. Clean up the last couple of places in the decompressor's code where .bss is used and enfore no .bss usage check on boot/compressed/misc.c. In particular: - initializing free_mem_ptr and free_mem_end_ptr with values guarantee that these variables won't end up in the .bss section. - define STATIC_RW_DATA to go into .data section. Reviewed-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/char')
0 files changed, 0 insertions, 0 deletions