]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[IA64] pal cache flush patch
authorXu, Anthony <anthony.xu@intel.com>
Mon, 9 Jan 2006 02:36:35 +0000 (10:36 +0800)
committerTony Luck <tony.luck@intel.com>
Mon, 16 Jan 2006 23:44:53 +0000 (15:44 -0800)
Because PAL spec has changed since 2002, you can goto
http://developer.intel.com/design/itanium/manuals/iiasdmanual.htm to
download new SDM, all PAL calls should be invoked with psr.ic=1, and
it's caller's responsibility to handle possible tlb miss.
Ia64_pal_cache_flush was written according to old spec, it is obsolete,
and this patch has ia64_pal_cache_flush conform to new spec.

Signed-off-by Anthony Xu <anthony.xu@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
include/asm-ia64/pal.h

index e828377ad295cec5d77dd3a06b1bbdf06f014737..7708ec669a336b055390db4408906ee277a5385a 100644 (file)
@@ -927,7 +927,7 @@ static inline s64
 ia64_pal_cache_flush (u64 cache_type, u64 invalidate, u64 *progress, u64 *vector)
 {
        struct ia64_pal_retval iprv;
-       PAL_CALL_IC_OFF(iprv, PAL_CACHE_FLUSH, cache_type, invalidate, *progress);
+       PAL_CALL(iprv, PAL_CACHE_FLUSH, cache_type, invalidate, *progress);
        if (vector)
                *vector = iprv.v0;
        *progress = iprv.v1;