]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
powerpc: add Freescale hypervisor partition control functions
authorTimur Tabi <timur@freescale.com>
Thu, 19 May 2011 13:54:29 +0000 (08:54 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 27 Jun 2011 13:30:53 +0000 (08:30 -0500)
commitd173ea6b4078f37320b49d06f9656ba76ee1ba6c
tree1822d534b6465eee65fcd9fbbbb15daee025031d
parent3a93261f70c7b92f84fb211b66f1d4e66c0b3dce
powerpc: add Freescale hypervisor partition control functions

Add functions to restart and halt the current partition when running under
the Freescale hypervisor.  These functions should be assigned to various
function pointers of the ppc_md structure during the .probe() function for
the board:

ppc_md.restart = fsl_hv_restart;
ppc_md.power_off = fsl_hv_halt;
ppc_md.halt = fsl_hv_halt;

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/fsl_soc.c
arch/powerpc/sysdev/fsl_soc.h