aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/cell/spu_syscalls.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-12-28 10:37:46 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-12-28 10:37:46 -0800
commit1842c7f260dd24dad2dd8eded80904d7a6c5525f (patch)
treeaff68702c9477c21b26284346ba98feebc91d849 /arch/powerpc/platforms/cell/spu_syscalls.c
parent29a09a7b138b1708de3d98a92fddcc18268084aa (diff)
parentec5d2dfe72cf4808ae4ecee03454a4d91dfcbe0c (diff)
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: [POWERPC] PS3: Fix printing of os-area magic numbers [POWERPC] Oprofile: Remove dependency on spufs module
Diffstat (limited to 'arch/powerpc/platforms/cell/spu_syscalls.c')
-rw-r--r--arch/powerpc/platforms/cell/spu_syscalls.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/spu_syscalls.c b/arch/powerpc/platforms/cell/spu_syscalls.c
index a9438b719fe..75530d99eda 100644
--- a/arch/powerpc/platforms/cell/spu_syscalls.c
+++ b/arch/powerpc/platforms/cell/spu_syscalls.c
@@ -145,6 +145,20 @@ int elf_coredump_extra_notes_write(struct file *file, loff_t *foffset)
return ret;
}
+void notify_spus_active(void)
+{
+ struct spufs_calls *calls;
+
+ calls = spufs_calls_get();
+ if (!calls)
+ return;
+
+ calls->notify_spus_active();
+ spufs_calls_put(calls);
+
+ return;
+}
+
int register_spu_syscalls(struct spufs_calls *calls)
{
if (spufs_calls)