[PATCH 12/14] ps3: fix gpu_context_allocate hcall
Geoff Levand
geoffrey.levand at am.sony.com
Thu Jan 25 13:40:24 EST 2007
From: Geert Uytterhoeven <Geert.Uytterhoeven at sonycom.com>
PS3: lv1_gpu_context_allocate() takes only one input parameter
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven at sonycom.com>
Signed-off-by: Geoff Levand <geoffrey.levand at am.sony.com>
---
include/asm-powerpc/lv1call.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- ps3-linux-dev.orig/include/asm-powerpc/lv1call.h
+++ ps3-linux-dev/include/asm-powerpc/lv1call.h
@@ -307,7 +307,7 @@ LV1_CALL(gpu_device_map,
LV1_CALL(gpu_device_unmap, 1, 0, 213 )
LV1_CALL(gpu_memory_allocate, 5, 2, 214 )
LV1_CALL(gpu_memory_free, 1, 0, 216 )
-LV1_CALL(gpu_context_allocate, 2, 5, 217 )
+LV1_CALL(gpu_context_allocate, 1, 5, 217 )
LV1_CALL(gpu_context_free, 1, 0, 218 )
LV1_CALL(gpu_context_iomap, 5, 0, 221 )
LV1_CALL(gpu_context_attribute, 6, 0, 225 )
More information about the Linuxppc-dev
mailing list