mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Declare `start` as __noreturn function since the function doesn't return. Use the gcc/clang built-in function `__builtin_unreachable` to make clear that `lpsw` and `diag308(DIAG390_IPL, NULL)` doesn't return (see https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html and https://clang.llvm.org/docs/LanguageExtensions.html#builtin-unreachable). Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Reviewed-by: Stefan Haberland <sth@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>