]> git.baikalelectronics.ru Git - kernel.git/commit
s390/decompressor: reuse lib/mem.S for mem functions
authorVasily Gorbik <gor@linux.ibm.com>
Tue, 12 Jun 2018 20:58:50 +0000 (22:58 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 25 Jun 2018 08:14:39 +0000 (10:14 +0200)
commit33abcfbba9c6375ebba2d1ffff68baa348be9a6e
treefee7168c074307ea2883d158d761aaaf21dc0706
parent14d02643f389f72d27281225cf6f9a797bf88256
s390/decompressor: reuse lib/mem.S for mem functions

Reusing arch/s390/lib/mem.S file solves a problem that sclp_early_core.c
and its dependencies have to be compiled with -march=z900 (no need to
compile compressed/misc.c with -march=z900). This also allows to avoid
mem functions duplicates, makes code a bit smaller and optimized mem
functions are utilized.

Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/boot/Makefile
arch/s390/boot/compressed/misc.c
arch/s390/boot/mem.S [new file with mode: 0644]