[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] x86: Add another '&' to the function arg of run_in_exception_handler.



# HG changeset patch
# User Tim Deegan <Tim.Deegan@xxxxxxxxxx>
# Date 1299514026 0
# Node ID ca556b7bad5c09521b59ba6bbd71e22958940975
# Parent  e8f392bbc9dc0156a1875c86c79b68ded3971595
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@xxxxxxxxxx>
Acked-by: Keir Fraser <keir@xxxxxxx>
---


diff -r e8f392bbc9dc -r ca556b7bad5c xen/include/asm-x86/bug.h
--- a/xen/include/asm-x86/bug.h Mon Mar 07 15:58:19 2011 +0000
+++ b/xen/include/asm-x86/bug.h Mon Mar 07 16:07:06 2011 +0000
@@ -22,7 +22,7 @@
     asm volatile (                                 \
         "ud2 ; ret %0" BUG_STR(1)                  \
         : : "i" (BUGFRAME_run_fn),                 \
-            "i" (fn) )
+            "i" (&(fn)) )
 
 #define WARN()                                     \
     asm volatile (                                 \

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.