summaryrefslogtreecommitdiff
path: root/kern/thread_swap.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/thread_swap.c')
-rw-r--r--kern/thread_swap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/thread_swap.c b/kern/thread_swap.c
index e76511e..94e5c21 100644
--- a/kern/thread_swap.c
+++ b/kern/thread_swap.c
@@ -154,7 +154,7 @@ void thread_doswapin(thread)
* This procedure executes as a kernel thread. Threads that need to
* be swapped in are swapped in by this thread.
*/
-void swapin_thread_continue(void)
+void __attribute__((noreturn)) swapin_thread_continue(void)
{
for (;;) {
thread_t thread;