# HG changeset patch
# User djm@xxxxxxxxxxxxxxx
# Node ID 8643b4d778f56c780d2860289d1255c80ab0b32e
# Parent 40648452d45f4b9a26043c0297869c55a6912551
Leave psr.ic on in pal_cache_flush -- fixes Linux bug (by Anthony Xu)
diff -r 40648452d45f -r 8643b4d778f5 xen/include/asm-ia64/linux-xen/asm/pal.h
--- a/xen/include/asm-ia64/linux-xen/asm/pal.h Wed Dec 28 21:07:30 2005
+++ b/xen/include/asm-ia64/linux-xen/asm/pal.h Thu Dec 29 21:21:39 2005
@@ -925,7 +925,11 @@
ia64_pal_cache_flush (u64 cache_type, u64 invalidate, u64 *progress, u64
*vector)
{
struct ia64_pal_retval iprv;
+#ifdef XEN /* fix a bug in Linux... PAL has changed */
+ PAL_CALL(iprv, PAL_CACHE_FLUSH, cache_type, invalidate, *progress);
+#else
PAL_CALL_IC_OFF(iprv, PAL_CACHE_FLUSH, cache_type, invalidate,
*progress);
+#endif
if (vector)
*vector = iprv.v0;
*progress = iprv.v1;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|