android_kernel_xiaomi_sm8350/arch/um/os-Linux/skas
Jeff Dike 77f6af778d uml: don't try to handle signals on initial process stack
Code running on the initial UML stack can't receive or process signals since
current must be valid when IRQs are handled, and there is no current for this
stack.

So, instead of using UML_LONGJMP and UML_SETJMP, which are careful to save and
restore signal state, and, as a side-effect, handle any deferred signals,
start_idle_thread must use the bare equivalents, which don't do anything with
signals.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-07 12:13:03 -07:00
..
Makefile
mem.c uml: convert libc layer to call read and write 2007-05-07 12:13:03 -07:00
process.c uml: don't try to handle signals on initial process stack 2007-05-07 12:13:03 -07:00
trap.c uml: kernel segfaults should dump proper registers 2007-05-07 12:13:02 -07:00