Main does not return, tell this the compiler.
Signed-off-by: Jan Kiszka <[email protected]>
---
x86/init.c | 1 +
1 file changed, 1 insertion(+)
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 (
--
1.8.1.1.298.ge7eed54
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html