This patch cleans up an usused variable in ptrace.c.
Compile tested.

Karol Swietlicki

Signed-off-by: Karol Swietlicki <[EMAIL PROTECTED]>
---
--- linux-2.6.27-rc1-mm1.orig/arch/um/kernel/ptrace.c   2008-08-27
19:20:13.000000000 +0200
+++ linux-2.6.27-rc1-mm1/arch/um/kernel/ptrace.c        2008-08-27
19:05:34.000000000 +0200
@@ -225,8 +225,7 @@ long arch_ptrace(struct task_struct *chi
        return ret;
 }

-static void send_sigtrap(struct task_struct *tsk, struct uml_pt_regs *regs,
-                 int error_code)
+static void send_sigtrap(struct task_struct *tsk, struct uml_pt_regs *regs)
 {
        struct siginfo info;

@@ -264,7 +263,7 @@ void syscall_trace(struct uml_pt_regs *r

        /* Fake a debug trap */
        if (is_singlestep)
-               send_sigtrap(current, regs, 0);
+               send_sigtrap(current, regs);

        if (!test_thread_flag(TIF_SYSCALL_TRACE))
                return;

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to