Skip to content

Commit

Permalink
powerpc: Remove no longer used ppc_md.idle_loop()
Browse files Browse the repository at this point in the history
The last user of ppc_md.idle_loop() was removed when we dropped the
legacy iSeries code, in commit 8ee3e0d.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
mpe authored and ozbenh committed Nov 15, 2012
1 parent 12660b1 commit 16b86bf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions arch/powerpc/include/asm/machdep.h
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,6 @@ struct machdep_calls {
unsigned long size,
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;
* called with interrupts disabled.
Expand Down
3 changes: 0 additions & 3 deletions arch/powerpc/kernel/idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@ __setup("powersave=off", powersave_off);
*/
void cpu_idle(void)
{
if (ppc_md.idle_loop)
ppc_md.idle_loop(); /* doesn't return */

set_thread_flag(TIF_POLLING_NRFLAG);
while (1) {
tick_nohz_idle_enter();
Expand Down

0 comments on commit 16b86bf

Please sign in to comment.