zipl: Make use of __noreturn macro

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:
Philipp Rudo
2019-10-08 19:41:18 +02:00
committed by Jan Höppner
parent 154734efc7
commit 86856f98db
2 changed files with 4 additions and 2 deletions

View File

@@ -11,6 +11,8 @@
#include <stdarg.h>
#include "lib/zt_common.h"
#include "error.h"
#include "libc.h"
#include "sclp.h"
@@ -383,7 +385,7 @@ void initialize(void)
/*
* Load disabled wait PSW with reason code in address field
*/
void libc_stop(unsigned long reason)
void __noreturn libc_stop(unsigned long reason)
{
struct psw_t psw;

View File

@@ -60,7 +60,7 @@ char *strcpy(char *, const char *);
unsigned long get_zeroed_page(void);
void free_page(unsigned long);
void initialize(void);
void libc_stop(unsigned long) __attribute__((noreturn));
void libc_stop(unsigned long);
void start(void);
void pgm_check_handler(void);
void pgm_check_handler_fn(void);