projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/xen: Fix noinstr fail in exc_xen_unknown_trap()
[linux-2.6-microblaze.git]
/
arch
/
x86
/
xen
/
enlighten_pv.c
diff --git
a/arch/x86/xen/enlighten_pv.c
b/arch/x86/xen/enlighten_pv.c
index
e87699a
..
0314942
100644
(file)
--- a/
arch/x86/xen/enlighten_pv.c
+++ b/
arch/x86/xen/enlighten_pv.c
@@
-592,8
+592,10
@@
DEFINE_IDTENTRY_RAW(xenpv_exc_debug)
DEFINE_IDTENTRY_RAW(exc_xen_unknown_trap)
{
/* This should never happen and there is no way to handle it. */
+ instrumentation_begin();
pr_err("Unknown trap in Xen PV mode.");
BUG();
+ instrumentation_end();
}
#ifdef CONFIG_X86_MCE