]> git.baikalelectronics.ru Git - kernel.git/commit
s390/early: get rid of memmove_early
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 4 May 2018 10:58:00 +0000 (12:58 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 9 May 2018 08:55:01 +0000 (10:55 +0200)
commit84c087c72225163f301bb873a024832d20c9ffd4
tree2e88dbe7ea5d72229a60d66511ce3291b39698fe
parent0375ba1c320611b447dc3a5310cc2706873a7b69
s390/early: get rid of memmove_early

memmove_early was introduced with commit a411bbecc5cd7 ("s390: fix
initrd corruptions with gcov/kcov instrumented kernels"). The reason
for writing this extra memmove implementation was to be able to move
memory from an unknown location (aka SCSI IPL parameter block) to a
known location.

This had to done early before it was known if the SCSI IPL parameter
block pointer was valid or not, and therefore the memmove
implementation was supposed to be able to handle program checks.

The code has been changed and especially with commit 304fc2aaadf6
("s390/ipl: rely on diag308 store to get ipl info") and
commit d5b27649238e ("s390: provide memmove implementation") there
is no need to have a memmove version that can handle program checks,
and in addition it cannot be gcov/kcov instrumented anymore.

Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/early.c