]> git.neil.brown.name Git - history.git/commitdiff
ia64: Drop printk from ia64_ni_syscall(). This is a temporary fix
authorDavid Mosberger <davidm@tiger.hpl.hp.com>
Fri, 21 Nov 2003 06:10:39 +0000 (22:10 -0800)
committerDavid Mosberger <davidm@tiger.hpl.hp.com>
Fri, 21 Nov 2003 06:10:39 +0000 (22:10 -0800)
for 2.6.0.  The proper fix is to replace ia64_ni_syscall with
sys_ni_syscall, but that would make the patch quite large, so
we defer that till 2.6.1.

arch/ia64/kernel/traps.c

index 676b15166aa97a0ebe5e0e5cbf61a5ca09c486f4..f46270401f3c55cd8731545516b7721466023ab9 100644 (file)
@@ -219,16 +219,14 @@ ia64_bad_break (unsigned long break_num, struct pt_regs *regs)
  * Unimplemented system calls.  This is called only for stuff that
  * we're supposed to implement but haven't done so yet.  Everything
  * else goes to sys_ni_syscall.
+ *
+ * XXX Remove this for v2.6.1.
  */
 asmlinkage long
 ia64_ni_syscall (unsigned long arg0, unsigned long arg1, unsigned long arg2, unsigned long arg3,
                 unsigned long arg4, unsigned long arg5, unsigned long arg6, unsigned long arg7,
                 unsigned long stack)
 {
-       struct pt_regs *regs = (struct pt_regs *) &stack;
-
-       printk(KERN_DEBUG "%s(%d): <sc%ld(%lx,%lx,%lx,%lx)>\n", current->comm, current->pid,
-              regs->r15, arg0, arg1, arg2, arg3);
        return -ENOSYS;
 }