summaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/multicalls.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge2008-07-09 00:06:30 +0200
committerIngo Molnar2008-07-16 10:55:21 +0200
commit8ba6c2b0958c332d2f3336f4ca9c116ed81f38e9 (patch)
tree6a243a44973d39bc69f42b8453a1ef8b9f3cc6fe /arch/x86/xen/multicalls.c
parentx86_64: unstatic get_local_pda (diff)
downloadkernel-qcow2-linux-8ba6c2b0958c332d2f3336f4ca9c116ed81f38e9.tar.gz
kernel-qcow2-linux-8ba6c2b0958c332d2f3336f4ca9c116ed81f38e9.tar.xz
kernel-qcow2-linux-8ba6c2b0958c332d2f3336f4ca9c116ed81f38e9.zip
xen: print backtrace on multicall failure
Print a backtrace if a multicall fails, to help with debugging. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Cc: Stephen Tweedie <sct@redhat.com> Cc: Eduardo Habkost <ehabkost@redhat.com> Cc: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/xen/multicalls.c')
-rw-r--r--arch/x86/xen/multicalls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/xen/multicalls.c b/arch/x86/xen/multicalls.c
index 3c63c4da7ed1..9efd1c6c9776 100644
--- a/arch/x86/xen/multicalls.c
+++ b/arch/x86/xen/multicalls.c
@@ -76,6 +76,7 @@ void xen_mc_flush(void)
if (ret) {
printk(KERN_ERR "%d multicall(s) failed: cpu %d\n",
ret, smp_processor_id());
+ dump_stack();
for (i = 0; i < b->mcidx; i++) {
printk(" call %2d/%d: op=%lu arg=[%lx] result=%ld\n",
i+1, b->mcidx,