summaryrefslogtreecommitdiffstats
path: root/arch/s390/boot/mem.S
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2018-06-12 22:58:50 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-06-25 10:14:39 +0200
commitcad5b35da9f7e429131592421c463a93703bb02e (patch)
treefee7168c074307ea2883d158d761aaaf21dc0706 /arch/s390/boot/mem.S
parenta1d7d91f105413750b5c8fb6a13a8c969a8b1f81 (diff)
downloadlinux-cad5b35da9f7e429131592421c463a93703bb02e.tar.bz2
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>
Diffstat (limited to 'arch/s390/boot/mem.S')
-rw-r--r--arch/s390/boot/mem.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/boot/mem.S b/arch/s390/boot/mem.S
new file mode 100644
index 000000000000..b33463633f03
--- /dev/null
+++ b/arch/s390/boot/mem.S
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include "../lib/mem.S"