diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2012-03-29 15:57:18 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2012-04-02 12:13:29 -0400 |
commit | 8c92ba6c327ee5089dec1e92eaa82927bee63d6d (patch) | |
tree | 0604093dfc61953b629a0b0889b6549dc1797d6c /arch/tile/kernel/smp.c | |
parent | bfffe79bc29a9c4c817d5f51590961220e26db1a (diff) | |
download | op-kernel-dev-8c92ba6c327ee5089dec1e92eaa82927bee63d6d.zip op-kernel-dev-8c92ba6c327ee5089dec1e92eaa82927bee63d6d.tar.gz |
arch/tile: add "nop" after "nap" to help GX idle power draw
This avoids the hardware istream prefetcher doing unnecessary work.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/kernel/smp.c')
-rw-r--r-- | arch/tile/kernel/smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/tile/kernel/smp.c b/arch/tile/kernel/smp.c index a44e103..7b6df8c 100644 --- a/arch/tile/kernel/smp.c +++ b/arch/tile/kernel/smp.c @@ -103,7 +103,7 @@ static void smp_stop_cpu_interrupt(void) set_cpu_online(smp_processor_id(), 0); arch_local_irq_disable_all(); for (;;) - asm("nap"); + asm("nap; nop"); } /* This function calls the 'stop' function on all other CPUs in the system. */ |