|
@@ -59,28 +59,6 @@
|
|
|
#include <asm/unwind.h>
|
|
|
#include <asm/sections.h>
|
|
|
|
|
|
-/*
|
|
|
- * The idle thread. There's no useful work to be
|
|
|
- * done, so just try to conserve power and have a
|
|
|
- * low exit latency (ie sit in a loop waiting for
|
|
|
- * somebody to say that they'd like to reschedule)
|
|
|
- */
|
|
|
-void cpu_idle(void)
|
|
|
-{
|
|
|
- set_thread_flag(TIF_POLLING_NRFLAG);
|
|
|
-
|
|
|
- /* endless idle loop with no priority at all */
|
|
|
- while (1) {
|
|
|
- rcu_idle_enter();
|
|
|
- while (!need_resched())
|
|
|
- barrier();
|
|
|
- rcu_idle_exit();
|
|
|
- schedule_preempt_disabled();
|
|
|
- check_pgt_cache();
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
#define COMMAND_GLOBAL F_EXTEND(0xfffe0030)
|
|
|
#define CMD_RESET 5 /* reset any module */
|
|
|
|