mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user