linux/arch/s390/mm
Martin Schwidefsky 595bf2aaca [PATCH] s390: in_interrupt vs. in_atomic
The condition for no context in do_exception checks for hard and soft
interrupts by using in_interrupt() but not for preemption.  This is bad for
the users of __copy_from/to_user_inatomic because the fault handler might call
schedule although the preemption count is != 0.  Use in_atomic() instead
in_interrupt().

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-04 17:13:00 -07:00
..
cmm.c [PATCH] s390: cmm guest sender id 2005-05-01 08:58:58 -07:00
extmem.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fault.c [PATCH] s390: in_interrupt vs. in_atomic 2005-06-04 17:13:00 -07:00
init.c [PATCH] s390: fix memory holes and cleanup setup_arch 2005-05-01 08:58:57 -07:00
ioremap.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mmap.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00