|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [XenPPC] [PATCH] Fix xchg api to for Xen-unstable
hmm, how did this ever work?!I your problem with a direct caller of __xchg() or is this thru the macro xchg()? I notice we have the macro wrong (at least in my copy of xen source):#define xchg(ptr,v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v), (ptr),sizeof(*(ptr))))
where it should be (from Linux):
#define xchg(ptr,x) \
({ \
__typeof__(*(ptr)) _x_ = (x); \
(__typeof__(*(ptr))) __xchg((ptr), (unsigned long)_x_, sizeof(*
(ptr))); \
}) Will that change fix your issue? I'd rather not change __xchg(). -JX On Apr 4, 2007, at 2:04 AM, Jerone Young wrote: This fixes the api for __xchg function in system.h so that PPC Xen canbuild correctly in Xen unstable. This is the same API used in the __xchg _______________________________________________ Xen-ppc-devel mailing list Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ppc-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |