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, ®s->skas.faultinfo);
info = &sig_info[sig];
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
|
|