nohz: prevent tick stop outside of the idle loop
[deliverable/linux.git] / arch / sh / kernel / process_32.c
index 9ab1926b9d10c34e14fd24efb385f046990ee5aa..921892c351dac9884482516331b20dd1a5a068bf 100644 (file)
@@ -25,6 +25,7 @@
 #include <asm/pgalloc.h>
 #include <asm/system.h>
 #include <asm/ubc.h>
+#include <asm/fpu.h>
 
 static int hlt_counter;
 int ubc_usercnt = 0;
@@ -85,7 +86,7 @@ void cpu_idle(void)
                if (!idle)
                        idle = default_idle;
 
-               tick_nohz_stop_sched_tick();
+               tick_nohz_stop_sched_tick(1);
                while (!need_resched())
                        idle();
                tick_nohz_restart_sched_tick();
This page took 0.026506 seconds and 5 git commands to generate.