By this point, .is_user has already been set, so this assignment is useless.

Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>

Index: linux-2.6.12/arch/um/kernel/skas/trap_user.c
===================================================================
--- linux-2.6.12.orig/arch/um/kernel/skas/trap_user.c   2005-07-27 
17:00:34.000000000 -0400
+++ linux-2.6.12/arch/um/kernel/skas/trap_user.c        2005-07-27 
17:01:58.000000000 -0400
@@ -58,7 +58,6 @@
         int segv = ((sig == SIGFPE) || (sig == SIGSEGV) || (sig == SIGBUS) ||
                     (sig == SIGILL) || (sig == SIGTRAP));
 
-       regs->skas.is_user = 1;
        if (segv)
                get_skas_faultinfo(pid, &regs->skas.faultinfo);
        info = &sig_info[sig];



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to