]> git.baikalelectronics.ru Git - kernel.git/commit
um: fix call tracer and bug handler
authorRichard Weinberger <richard@nod.at>
Thu, 14 Apr 2011 22:22:17 +0000 (15:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 14 Apr 2011 23:06:56 +0000 (16:06 -0700)
commit5db9b3f0c890f6a4ef8aeb2e3c514befae0ad6f0
tree53b4ae9bea67ae24983858eeb4e9c6dfd7fd7d60
parentd926d524a9b3f3b5ccfe76f0dffb6b63ed375ba1
um: fix call tracer and bug handler

Commit 01927fef ("x86, um: now we can get rid of trivial uml headers")
removed accidentally bug.h which broke UML's call tracer and bug
handler.

Without asm-generic/bug.h UML uses BUG() from arch/x86/ which makes use
of ud2.  UML cannot use ud2, it raises SIGILL in user mode.  As UML has
a different stack for handling signals the call trace will be cut off.

Signed-off-by: Richard Weinberger <richard@nod.at>
Reported-by: Sergei Trofimovich <slyich@gmail.com>
Tested-by: Sergei Trofimovich <slyich@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/include/asm/bug.h [new file with mode: 0644]