summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/ps3
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2011-11-29 15:38:49 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-12-08 14:05:54 +1100
commitb5ecc5595e4fb2992093b3d2d0e15b4630eb233b (patch)
tree79928045fa38c6a3c19f5b7b7064b8b042b5e563 /arch/powerpc/platforms/ps3
parent7652918cf9c07e0cf9ed152bd242f789ddcffaa7 (diff)
downloadop-kernel-dev-b5ecc5595e4fb2992093b3d2d0e15b4630eb233b.zip
op-kernel-dev-b5ecc5595e4fb2992093b3d2d0e15b4630eb233b.tar.gz
powerpc/ps3: Fix hcall lv1_get_virtual_address_space_id_of_ppe
The lv1_get_virtual_address_space_id_of_ppe hcall takes 0, not 1 input arguments. Adjust the lv1 hcall table and all calls. Signed-off-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/ps3')
-rw-r--r--arch/powerpc/platforms/ps3/spu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/ps3/spu.c b/arch/powerpc/platforms/ps3/spu.c
index 451fad1..e17fa14 100644
--- a/arch/powerpc/platforms/ps3/spu.c
+++ b/arch/powerpc/platforms/ps3/spu.c
@@ -154,7 +154,7 @@ static unsigned long get_vas_id(void)
u64 id;
lv1_get_logical_ppe_id(&id);
- lv1_get_virtual_address_space_id_of_ppe(id, &id);
+ lv1_get_virtual_address_space_id_of_ppe(&id);
return id;
}
OpenPOWER on IntegriCloud