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

Re: [Xen-ia64-devel] [Patch] linux: set memory attribute in inlineasm



Selon Isaku Yamahata <yamahata@xxxxxxxxxxxxx>:

> diff -r bb2f8ba47833 include/asm-ia64/xen/privop.h
> --- a/include/asm-ia64/xen/privop.h   Tue Mar 25 12:37:54 2008 -0600
> +++ b/include/asm-ia64/xen/privop.h   Sat Apr 05 07:27:30 2008 +0900
> @@ -67,7 +67,7 @@
>  #endif
>
>  #ifndef __ASSEMBLY__
> -#define      XEN_HYPER_SSM_I         asm("break %0" : : "i" 
> (HYPERPRIVOP_SSM_I))
> +#define      XEN_HYPER_SSM_I         asm("break %0" : : "i" 
> (HYPERPRIVOP_SSM_I):
> "memory")
>  #define      XEN_HYPER_GET_IVR       asm("break %0" : : "i" 
> (HYPERPRIVOP_GET_IVR))
>
>  /************************************************/
>
> Shouldn't those be asm volatile, but asm?

IIRC, according to the gcc doc asm without outputs are volatile.

Tristan.

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


 


Rackspace

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