We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8da1ab8 + fe7f150 commit 41efdf8Copy full SHA for 41efdf8
arch/lkl/kernel/setup.c
@@ -1,6 +1,7 @@
1
#include <linux/init.h>
2
#include <linux/init_task.h>
3
#include <linux/reboot.h>
4
+#include <linux/tick.h>
5
#include <linux/fs.h>
6
#include <linux/start_kernel.h>
7
#include <linux/syscalls.h>
@@ -145,6 +146,10 @@ void arch_cpu_idle(void)
145
146
* segfault because the tx/rx threads are still
147
* running in parallel. */
148
/* free_mem(); */
149
+
150
+ /* Shutdown the clockevents source. */
151
+ tick_suspend_local();
152
153
lkl_ops->sem_up(halt_sem);
154
lkl_ops->thread_exit();
155
}
0 commit comments