File tree Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ config XTENSA
19
19
select CLONE_BACKWARDS
20
20
select IRQ_DOMAIN
21
21
select HAVE_OPROFILE
22
+ select GENERIC_IDLE_LOOP
22
23
help
23
24
Xtensa processors are 32-bit RISC machines designed by Tensilica
24
25
primarily for embedded systems. These processors are both
Original file line number Diff line number Diff line change @@ -105,19 +105,9 @@ void coprocessor_flush_all(struct thread_info *ti)
105
105
/*
106
106
* Powermanagement idle function, if any is provided by the platform.
107
107
*/
108
-
109
- void cpu_idle (void )
108
+ void arch_cpu_idle (void )
110
109
{
111
- local_irq_enable ();
112
-
113
- /* endless idle loop with no priority at all */
114
- while (1 ) {
115
- rcu_idle_enter ();
116
- while (!need_resched ())
117
- platform_idle ();
118
- rcu_idle_exit ();
119
- schedule_preempt_disabled ();
120
- }
110
+ platform_idle ();
121
111
}
122
112
123
113
/*
You can’t perform that action at this time.
0 commit comments