powerpc: Remove no longer used ppc_md.idle_loop()
authorMichael Ellerman <michael@ellerman.id.au>
Wed, 24 Oct 2012 17:21:09 +0000 (17:21 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 15 Nov 2012 02:00:20 +0000 (13:00 +1100)
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>
arch/powerpc/include/asm/machdep.h
arch/powerpc/kernel/idle.c

index c4231973edd351eacf480dacbdb3d1a529b1b08c..a338bc7cf9d48beefa3115ec78414f62dafb015b 100644 (file)
@@ -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.
index 2099d9a879e84ac43e6333f3d28d87fdd799c686..ea78761aa16972a71f00f6bf0824989995b7c841 100644 (file)
@@ -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();