File tree Expand file tree Collapse file tree 2 files changed +1
-18
lines changed Expand file tree Collapse file tree 2 files changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ config SCORE
11
11
select ARCH_DISCARD_MEMBLOCK
12
12
select GENERIC_CPU_DEVICES
13
13
select GENERIC_CLOCKEVENTS
14
+ select GENERIC_IDLE_LOOP
14
15
select HAVE_MOD_ARCH_SPECIFIC
15
16
select VIRT_TO_BUS
16
17
select MODULES_USE_ELF_REL
Original file line number Diff line number Diff line change @@ -41,24 +41,6 @@ void machine_halt(void) {}
41
41
/* If or when software machine-power-off is implemented, add code here. */
42
42
void machine_power_off (void ) {}
43
43
44
- /*
45
- * The idle thread. There's no useful work to be
46
- * done, so just try to conserve power and have a
47
- * low exit latency (ie sit in a loop waiting for
48
- * somebody to say that they'd like to reschedule)
49
- */
50
- void __noreturn cpu_idle (void )
51
- {
52
- /* endless idle loop with no priority at all */
53
- while (1 ) {
54
- rcu_idle_enter ();
55
- while (!need_resched ())
56
- barrier ();
57
- rcu_idle_exit ();
58
- schedule_preempt_disabled ();
59
- }
60
- }
61
-
62
44
void ret_from_fork (void );
63
45
void ret_from_kernel_thread (void );
64
46
You can’t perform that action at this time.
0 commit comments