diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/exit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 3ec7b10eae38..a51b347ae67b 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -963,7 +963,8 @@ fastcall NORET_TYPE void do_exit(long code) | |||
963 | schedule(); | 963 | schedule(); |
964 | BUG(); | 964 | BUG(); |
965 | /* Avoid "noreturn function does return". */ | 965 | /* Avoid "noreturn function does return". */ |
966 | for (;;) ; | 966 | for (;;) |
967 | cpu_relax(); /* For when BUG is null */ | ||
967 | } | 968 | } |
968 | 969 | ||
969 | EXPORT_SYMBOL_GPL(do_exit); | 970 | EXPORT_SYMBOL_GPL(do_exit); |