Commit 0eb0391c authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

util: do a control shot from BUG_ON

SIGABRT may be blocked. We do that in the restorer.
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Acked-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent afd9559d
......@@ -50,6 +50,7 @@
if ((condition)) { \
pr_err("BUG at %s:%d\n", __FILE__, __LINE__); \
raise(SIGABRT); \
*(volatile unsigned long *)NULL = 0xdead0000 + __LINE__; \
} \
} while (0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment