Skip to contentSkip to conversation

UML - Remove a quilt-induced duplicity

PATCH New Jeff Dike 1 participant 1 message Nov 25, 2004 User-mode Linux (UML)

lore
Share & tools
lore

Jeff Dike

author
#0 lore raw

PATCH 1/1 UML - Remove a quilt-induced duplicity

This piece appears to have gone in twice.

===== arch/um/kernel/tt/trap_user.c 1.5 vs edited =====

arch/um/kernel/tt/trap_user.c +0 -7
Index: 2.6.9/arch/um/kernel/tt/trap_user.c
===================================================================
@@ -30,13 +30,6 @@
 	if(sig == SIGSEGV)
 		change_sig(SIGSEGV, 1);
 
-	/* This is done because to allow SIGSEGV to be delivered inside a SEGV
-	 * handler.  This can happen in copy_user, and if SEGV is disabled,
-	 * the process will die.
-	 */
-	if(sig == SIGSEGV)
-		change_sig(SIGSEGV, 1);
-
 	r = &TASK_REGS(get_current())->tt;
 	save_regs = *r;
 	is_user = user_context(SC_SP(sc));