Akio,
        Thank you for pointing out this issue. Maybe I sent out the older one 
incorrectly.:( Thanks again.
-Xiantao

OTC,Intel Corporation

> -----Original Message-----
> From: Akio Takebe [mailto:[EMAIL PROTECTED]
> Sent: 2006年7月26日 19:24
> To: Zhang, Xiantao; [EMAIL PROTECTED]
> Cc: [email protected]
> Subject: Re: [Xen-ia64-devel] [PATCH][QEMU] Add IA64-specific code for new
> qemu.
> 
> Hi, Xiantao
> 
> Is the following testandset redefine?
> 
> diff -r bbabdebc54ad tools/ioemu/exec-all.h
> --- a/tools/ioemu/exec-all.h  Wed Jul 19 21:13:36 2006 +0100
> +++ b/tools/ioemu/exec-all.h  Tue Jul 25 09:30:05 2006 +0800
> @@ -391,6 +391,15 @@ static inline int testandset (int *p)
>  }
>  #endif
> 
> +#ifdef __ia64__
> +#include "ia64_intrinsic.h"
> +static inline int testandset (int *p)
> +{
> +    uint32_t o = 0, n = 1;
> +    return (int)cmpxchg_acq(p, o, n);
> +}
> +#endif
> +
>  #ifdef __s390__
>  static inline int testandset (int *p)
>  {
> 
> Best Regards,
> 
> Akio Takebe
> 
> >This patch adds the ia64-specific code for new Qemu .
> >In addition, some ia64 patches aren't checked into xen-unstable.hg, so I
> >reversed the related logic temporarily. Once sync with
> >xen-ia64-unstable.hg, the logic will regain automatically.
> >Thanks & Best Regards
> >-Xiantao
> >
> >OTC,Intel Corporation
> >
> >
> >-------------------------------text/plain-------------------------------
> >_______________________________________________
> >Xen-ia64-devel mailing list
> >[email protected]
> >http://lists.xensource.com/xen-ia64-devel

_______________________________________________
Xen-ia64-devel mailing list
[email protected]
http://lists.xensource.com/xen-ia64-devel

Reply via email to