]> rtime.felk.cvut.cz Git - linux-imx.git/commit
powerpc/powernv: Hookup reboot and poweroff functions
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 19 Sep 2011 18:28:03 +0000 (18:28 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 20 Sep 2011 06:09:55 +0000 (16:09 +1000)
commitec27329ffb3b4f619be9f0065c473fcb36ea52ce
tree417c97efc83929dfd17320b1e4a7b7f8130d5994
parentdaea1175a9f0f70eab5b33e2827d57ba8c686816
powerpc/powernv: Hookup reboot and poweroff functions

This calls the respective HAL functions, and spin on hal_poll_event()
to ensure the HAL has a chance to communicate with the FSP to trigger
the reboot or shutdown operation

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powernv/setup.c