aboutsummaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2016-12-06 15:52:10 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-12-12 12:11:20 +0100
commitd543a106f96d6f15e4507cf349128912d44356d9 (patch)
treefa6fee4676c09b7a36a190e1c4121b9041f0b9b9 /Kbuild
parents390: exclude early C code from gcov profiling (diff)
downloadlinux-dev-d543a106f96d6f15e4507cf349128912d44356d9.tar.xz
linux-dev-d543a106f96d6f15e4507cf349128912d44356d9.zip
s390: fix initrd corruptions with gcov/kcov instrumented kernels
The early C code within arch/s390/kernel/early.c saves ipl parameters before the bss section is cleared. When doing that it jumps to code that is potentially gcov/kcov instrumented. That code in turn will corrupt an initrd that potentially may reside in the not yet ready to be used bss section. Instead of excluding more and more code from gcov/kcov instrumentation provide an early memmove function which will be used to save ipl parameters. The verification if these parameters are actually valid will be done later. Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions