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)
commitcad5b35da9f7e429131592421c463a93703bb02e
treefee7168c074307ea2883d158d761aaaf21dc0706
parenta1d7d91f105413750b5c8fb6a13a8c969a8b1f81
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]