[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1302698512-11979-1-git-send-email-richard@nod.at>
Date: Wed, 13 Apr 2011 14:41:51 +0200
From: Richard Weinberger <richard@....at>
To: akpm@...ux-foundation.com
Cc: slyich@...il.com, linux-kernel@...r.kernel.org, jdike@...toit.com,
user-mode-linux-devel@...ts.sourceforge.net,
Richard Weinberger <richard@....at>
Subject: [PATCH 1/2] um: Fix call tracer and bug handler
Commit 1de1502c (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.
Reported-by: Sergei Trofimovich <slyich@...il.com>
Tested-by: Sergei Trofimovich <slyich@...il.com>
Signed-off-by: Richard Weinberger <richard@....at>
---
arch/um/include/asm/bug.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
create mode 100644 arch/um/include/asm/bug.h
diff --git a/arch/um/include/asm/bug.h b/arch/um/include/asm/bug.h
new file mode 100644
index 0000000..9e33b86
--- /dev/null
+++ b/arch/um/include/asm/bug.h
@@ -0,0 +1,6 @@
+#ifndef __UM_BUG_H
+#define __UM_BUG_H
+
+#include <asm-generic/bug.h>
+
+#endif
--
1.6.6.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists