]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Fix corruption in hcall9
authorAnton Blanchard <anton@samba.org>
Mon, 8 Jan 2007 15:37:16 +0000 (02:37 +1100)
committerPaul Mackerras <paulus@samba.org>
Tue, 9 Jan 2007 06:03:03 +0000 (17:03 +1100)
commitab87e8dc88a7cae341c403547cea6b022f5ac023
treef3eb5fab9432b77e3a1d248daa142c8f4573becd
parente75b171768b8b98ec5fd57acb3e87a30c97c9472
[POWERPC] Fix corruption in hcall9

It looks to me like we are corrupting r12 in the hcall9 function.
Although we have r0 free we cant use offsets against it, so save
away r12 in there instead.  r12 holds the ninth return value from
the hypervisor call, so without this fix, the caller will see the
wrong value for the ninth element in the array that gets the return
values.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/hvCall.S