parisc: qemu idle sleep support
authorHelge Deller <deller@gmx.de>
Fri, 5 Jan 2018 20:55:38 +0000 (21:55 +0100)
committerHelge Deller <deller@gmx.de>
Sat, 6 Jan 2018 11:28:04 +0000 (12:28 +0100)
commit310d82784fb4d60c80569f5ca9f53a7f3bf1d477
treeb5f993f0c6d9dc6098a1d130e25a144aa00718da
parent88776c0e70be0290f8357019d844aae15edaa967
parisc: qemu idle sleep support

Add qemu idle sleep support when running under qemu with SeaBIOS PDC
firmware.

Like the power architecture we use the "or" assembler instructions,
which translate to nops on real hardware, to indicate that qemu shall
idle sleep.

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: Richard Henderson <rth@twiddle.net>
CC: stable@vger.kernel.org # v4.9+
arch/parisc/kernel/process.c