mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zipl/stage3: Mark start_kernel __noreturn
Signed-off-by: Philipp Rudo <prudo@linux.ibm.com> Reviewed-by: Stefan Haberland <sth@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
5eace91ee7
commit
edfb6a03d8
@@ -175,8 +175,7 @@ static void ebcdic_to_ascii(unsigned char *target, unsigned char *source,
|
||||
target[i] = ebc[source[i]];
|
||||
}
|
||||
|
||||
static void
|
||||
start_kernel(void)
|
||||
static inline void __noreturn start_kernel(void)
|
||||
{
|
||||
struct psw_t *psw = &S390_lowcore.program_new_psw;
|
||||
unsigned long addr, code;
|
||||
@@ -199,6 +198,7 @@ start_kernel(void)
|
||||
: [addr] "=&d" (addr),
|
||||
[code] "+&d" (code)
|
||||
: [psw] "a" (psw) );
|
||||
while (1);
|
||||
}
|
||||
|
||||
unsigned int
|
||||
|
||||
Reference in New Issue
Block a user