This patch series should be applied on top of Janosch's patch series ([kvm-unit-tests PATCH v2 1/7] s390x: Cleanup flat.lds). Marc Hartmayer (9): .gitignore: ignore `s390x/comm.key` file s390x/Makefile: simplify `%.hdr` target rules s390x/Makefile: fix `*.gbin` target dependencies s390x/Makefile: refactor CPPFLAGS s390x/Makefile: remove unused include path s390x: define a macro for the stack frame size s390x: use C pre-processor for linker script generation s390x: use STACK_FRAME_SIZE macro in linker scripts lib/linux/const.h: test for `__ASSEMBLER__` as well .gitignore | 2 ++ lib/linux/const.h | 2 +- lib/s390x/asm-offsets.c | 1 + s390x/Makefile | 20 +++++++++++--------- s390x/cstart64.S | 2 +- s390x/{flat.lds => flat.lds.S} | 4 +++- s390x/snippets/asm/{flat.lds => flat.lds.S} | 0 s390x/snippets/c/{flat.lds => flat.lds.S} | 6 ++++-- 8 files changed, 23 insertions(+), 14 deletions(-) rename s390x/{flat.lds => flat.lds.S} (93%) rename s390x/snippets/asm/{flat.lds => flat.lds.S} (100%) rename s390x/snippets/c/{flat.lds => flat.lds.S} (88%) -- 2.34.1