Message ID | 585e129b708879bc958f357c71e7fd60f45b289d.1387187847.git.jan.kiszka@siemens.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/x86/init.c b/x86/init.c index 717511e..344dc1c 100644 --- a/x86/init.c +++ b/x86/init.c @@ -107,6 +107,7 @@ int main(int argc, char **argv) /* The resume code will get us back to main. */ asm("cli; hlt"); + __builtin_unreachable(); } asm (
Main does not return, tell this the compiler. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> --- x86/init.c | 1 + 1 file changed, 1 insertion(+)