]> git.baikalelectronics.ru Git - kernel.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)
commit70a95616d917bff40115fdbad249fd1a3747694d
tree417c97efc83929dfd17320b1e4a7b7f8130d5994
parenta29040396de5a5036c22ee8772db13a8795235e5
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