zipl: Update inline assembly for GCC 15

Properly escape % (as %%) for extended assembly in stage3.c in
start_kernel().

Fixes: https://github.com/ibm-s390-linux/s390-tools/issues/179
Closes: https://github.com/ibm-s390-linux/s390-tools/pull/180
Signed-off-by: Dan Horák <dan@danny.cz>
Reviewed-by: Stefan Haberland <sth@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Dan Horák
2025-01-16 14:32:52 +00:00
committed by Jan Höppner
parent b09a9b3490
commit abcb93aacb

View File

@@ -48,9 +48,9 @@ static inline void __noreturn start_kernel(void)
" diag %[code],%[code],0x308\n"
".no_diag308:\n"
" sam31\n"
" sr %r1,%r1\n"
" sr %r2,%r2\n"
" sigp %r1,%r2,%[order]\n"
" sr %%r1,%%r1\n"
" sr %%r2,%%r2\n"
" sigp %%r1,%%r2,%[order]\n"
" lpsw 0\n"
: [addr] "=&d" (addr),
[code] "+&d" (code)