aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Deegan <Tim.Deegan@citrix.com>2011-03-07 16:07:06 +0000
committerTim Deegan <Tim.Deegan@citrix.com>2011-03-07 16:07:06 +0000
commit6f52f1fc803977b6572c988137b8c2522c9e2c31 (patch)
tree8af0c6b40d576550e8cfa1a15dad4d8ab8be1992
parent942031961a12a3b2d5269c122aa9637fb1e076b1 (diff)
downloadxen-6f52f1fc803977b6572c988137b8c2522c9e2c31.tar.gz
xen-6f52f1fc803977b6572c988137b8c2522c9e2c31.tar.bz2
xen-6f52f1fc803977b6572c988137b8c2522c9e2c31.zip
x86: Add another '&' to the function arg of run_in_exception_handler.
This is needed to compile xen with clang. Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com> Acked-by: Keir Fraser <keir@xen.org>
-rw-r--r--xen/include/asm-x86/bug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/asm-x86/bug.h b/xen/include/asm-x86/bug.h
index 05083e0168..b98ae7725f 100644
--- a/xen/include/asm-x86/bug.h
+++ b/xen/include/asm-x86/bug.h
@@ -22,7 +22,7 @@ struct bug_frame {
asm volatile ( \
"ud2 ; ret %0" BUG_STR(1) \
: : "i" (BUGFRAME_run_fn), \
- "i" (fn) )
+ "i" (&(fn)) )
#define WARN() \
asm volatile ( \