]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[IA64] ia64_set_psr should use srlz.i
authorXiantao Zhang <xiantao.zhang@intel.com>
Thu, 31 Jan 2008 09:46:09 +0000 (17:46 +0800)
committerTony Luck <tony.luck@intel.com>
Mon, 4 Feb 2008 23:50:13 +0000 (15:50 -0800)
The only in kernel use of ia64_set_psr() needs to follow
it with a srlz.i (since it is changing state for PSR.ic).
So it is pointless to issue srlz.d inside this function.

Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/efi.c
include/asm-ia64/processor.h

index d59134d7e73c11a9286df4e224da8db3240f5777..919070a9aed7184c87ea43d83855963bb170d40e 100644 (file)
@@ -421,7 +421,6 @@ efi_map_pal_code (void)
                 pte_val(pfn_pte(__pa(pal_vaddr) >> PAGE_SHIFT, PAGE_KERNEL)),
                 IA64_GRANULE_SHIFT);
        ia64_set_psr(psr);              /* restore psr */
-       ia64_srlz_i();
 }
 
 void __init
index be3b0ae43270f81800945752f65843b849ef2460..038642f6d19e450a354b12d7675530928b37dd11 100644 (file)
@@ -472,7 +472,7 @@ ia64_set_psr (__u64 psr)
 {
        ia64_stop();
        ia64_setreg(_IA64_REG_PSR_L, psr);
-       ia64_srlz_d();
+       ia64_srlz_i();
 }
 
 /*