Commit 16b86bf2 authored by Michael Ellerman's avatar Michael Ellerman Committed by Benjamin Herrenschmidt

powerpc: Remove no longer used ppc_md.idle_loop()

The last user of ppc_md.idle_loop() was removed when we dropped the
legacy iSeries code, in commit 8ee3e0d6.
Signed-off-by: default avatarMichael Ellerman <michael@ellerman.id.au>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 12660b17
...@@ -166,9 +166,6 @@ struct machdep_calls { ...@@ -166,9 +166,6 @@ struct machdep_calls {
unsigned long size, unsigned long size,
pgprot_t vma_prot); pgprot_t vma_prot);
/* Idle loop for this platform, leave empty for default idle loop */
void (*idle_loop)(void);
/* /*
* Function for waiting for work with reduced power in idle loop; * Function for waiting for work with reduced power in idle loop;
* called with interrupts disabled. * called with interrupts disabled.
......
...@@ -55,9 +55,6 @@ __setup("powersave=off", powersave_off); ...@@ -55,9 +55,6 @@ __setup("powersave=off", powersave_off);
*/ */
void cpu_idle(void) void cpu_idle(void)
{ {
if (ppc_md.idle_loop)
ppc_md.idle_loop(); /* doesn't return */
set_thread_flag(TIF_POLLING_NRFLAG); set_thread_flag(TIF_POLLING_NRFLAG);
while (1) { while (1) {
tick_nohz_idle_enter(); tick_nohz_idle_enter();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment