diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2014-05-23 18:15:26 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-05-28 13:35:35 +1000 |
commit | 8d6f7c5aa3db6f3e5e43d09f8a0166c7d96f33f3 (patch) | |
tree | abde7ff85f8eb47d7c028228101c0fd3880bb0fa /arch/powerpc/include/asm/processor.h | |
parent | 441c19c8a290f5f1e1b263691641124c84232b6e (diff) | |
download | op-kernel-dev-8d6f7c5aa3db6f3e5e43d09f8a0166c7d96f33f3.zip op-kernel-dev-8d6f7c5aa3db6f3e5e43d09f8a0166c7d96f33f3.tar.gz |
powerpc/powernv: Make it possible to skip the IRQHAPPENED check in power7_nap()
To support split core we need to be able to force all secondaries into
nap, so the core can detect they are idle and do an unsplit.
Currently power7_nap() will return without napping if there is an irq
pending. We want to ignore the pending irq and nap anyway, we will deal
with the interrupt later.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/processor.h')
-rw-r--r-- | arch/powerpc/include/asm/processor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/processor.h b/arch/powerpc/include/asm/processor.h index d660dc3..6d59072 100644 --- a/arch/powerpc/include/asm/processor.h +++ b/arch/powerpc/include/asm/processor.h @@ -449,7 +449,7 @@ extern unsigned long cpuidle_disable; enum idle_boot_override {IDLE_NO_OVERRIDE = 0, IDLE_POWERSAVE_OFF}; extern int powersave_nap; /* set if nap mode can be used in idle loop */ -extern void power7_nap(void); +extern void power7_nap(int check_irq); extern void power7_sleep(void); extern void flush_instruction_cache(void); extern void hard_reset_now(void); |