um: Fix possible deadlock in sig_handler_common()
authorRichard Weinberger <richard@nod.at>
Sun, 12 Jun 2016 20:03:16 +0000 (22:03 +0200)
committerRichard Weinberger <richard@nod.at>
Wed, 3 Aug 2016 22:17:58 +0000 (00:17 +0200)
commit57a05d83b16710aff30510c33768df7ab17e0b4a
treeb8535f4cb6462564b41c8e8deedde84868991874
parent5609a3d309836d047eb60275db69d82d47268283
um: Fix possible deadlock in sig_handler_common()

We are in atomic context and must not sleep.
Sleeping here is possible since malloc() maps
to kmalloc() with GFP_KERNEL.

Cc: stable@vger.kernel.org
Fixes: b6024b21 ("um: extend fpstate to _xstate to support YMM registers")
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/os-Linux/signal.c