ia64/xen-unstable

changeset 8435:8643b4d778f5

Leave psr.ic on in pal_cache_flush -- fixes Linux bug (by Anthony Xu)
author djm@kirby.fc.hp.com
date Thu Dec 29 15:21:39 2005 -0600 (2005-12-29)
parents 40648452d45f
children 5222e8d456ae
files xen/include/asm-ia64/linux-xen/asm/pal.h
line diff
     1.1 --- a/xen/include/asm-ia64/linux-xen/asm/pal.h	Wed Dec 28 15:07:30 2005 -0600
     1.2 +++ b/xen/include/asm-ia64/linux-xen/asm/pal.h	Thu Dec 29 15:21:39 2005 -0600
     1.3 @@ -925,7 +925,11 @@ static inline s64
     1.4  ia64_pal_cache_flush (u64 cache_type, u64 invalidate, u64 *progress, u64 *vector)
     1.5  {
     1.6  	struct ia64_pal_retval iprv;
     1.7 +#ifdef XEN	/* fix a bug in Linux... PAL has changed */
     1.8 +	PAL_CALL(iprv, PAL_CACHE_FLUSH, cache_type, invalidate, *progress);
     1.9 +#else
    1.10  	PAL_CALL_IC_OFF(iprv, PAL_CACHE_FLUSH, cache_type, invalidate, *progress);
    1.11 +#endif
    1.12  	if (vector)
    1.13  		*vector = iprv.v0;
    1.14  	*progress = iprv.v1;