]> git.hungrycats.org Git - linux/commit
[PATCH] uml: fix a signal race
authorJeff Dike <jdike@addtoit.com>
Fri, 17 Sep 2004 05:10:32 +0000 (22:10 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 17 Sep 2004 05:10:32 +0000 (22:10 -0700)
commit5a47e2f12f1d37fb07d3df5a4e4e395f80a99f71
tree768ba0996984861f7b504ac11699c612469e9f74
parent7e21b67f5af27b63c21d4ce9d76d0780761caf1c
[PATCH] uml: fix a signal race

This patch saves and restores UML's idea of user mode across an interrupt.
Without this, an interrupt arriving at the wrong time can cause UML to lose
track of whether an interrupted handler is handing a userspace interrupt.

From: Ingo Molnar
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/kernel/skas/trap_user.c