]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/platforms/cell/spu_callbacks.c
Merge branches 'bugzilla-11884' and 'bugzilla-8544' into release
[linux-2.6-omap-h63xx.git] / arch / powerpc / platforms / cell / spu_callbacks.c
index 47ec3be3edcd6dfae91890fe8c4100d7e2593b0d..fec1495e6b12f98a8a12e9c9436fa2f2fdc76782 100644 (file)
@@ -2,7 +2,7 @@
  * System call callback functions for SPUs
  */
 
-#define DEBUG
+#undef DEBUG
 
 #include <linux/kallsyms.h>
 #include <linux/module.h>
@@ -33,7 +33,7 @@
  *     mbind, mq_open, ipc, ...
  */
 
-void *spu_syscall_table[] = {
+static void *spu_syscall_table[] = {
 #define SYSCALL(func)          sys_ni_syscall,
 #define COMPAT_SYS(func)       sys_ni_syscall,
 #define PPC_SYS(func)          sys_ni_syscall,
@@ -54,7 +54,7 @@ long spu_sys_callback(struct spu_syscall_block *s)
        long (*syscall)(u64 a1, u64 a2, u64 a3, u64 a4, u64 a5, u64 a6);
 
        if (s->nr_ret >= ARRAY_SIZE(spu_syscall_table)) {
-               pr_debug("%s: invalid syscall #%ld", __FUNCTION__, s->nr_ret);
+               pr_debug("%s: invalid syscall #%lld", __func__, s->nr_ret);
                return -ENOSYS;
        }