[POWERPC] Avoid hypervisor statistics calculation in real mode
authorMohan Kumar M <mohan@in.ibm.com>
Wed, 21 Mar 2007 05:51:32 +0000 (11:21 +0530)
committerPaul Mackerras <paulus@samba.org>
Thu, 22 Mar 2007 04:01:43 +0000 (15:01 +1100)
kexec invokes plpar_hcall hypervisor call in real mode.  plpar_hcall
refers to per cpu variables for accounting hypervisor statistics.
These variables may not be in the RMO region, so accesses to them
in real mode may result in a data storage exception.

This fixes this problem by using a new plpar_hcall_raw function which
does not update the hypervisor call statistics.  Thanks to Anton for
suggesting this idea.

Signed-off-by: Mohan Kumar M <mohan@in.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>

No differences found