Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f00c2d36bf6d7efece79713930763d9a0460283e
Commit:     f00c2d36bf6d7efece79713930763d9a0460283e
Parent:     a7d57ecf4216ed29328f8e701bd65ebb66a0284c
Author:     Xiantao Zhang <[EMAIL PROTECTED]>
AuthorDate: Thu Jan 31 17:46:09 2008 +0800
Committer:  Tony Luck <[EMAIL PROTECTED]>
CommitDate: Mon Feb 4 15:50:13 2008 -0800

    [IA64] ia64_set_psr should use srlz.i
    
    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 <[EMAIL PROTECTED]>
    Signed-off-by: Tony Luck <[EMAIL PROTECTED]>
---
 arch/ia64/kernel/efi.c       |    1 -
 include/asm-ia64/processor.h |    2 +-
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/arch/ia64/kernel/efi.c b/arch/ia64/kernel/efi.c
index d59134d..919070a 100644
--- a/arch/ia64/kernel/efi.c
+++ b/arch/ia64/kernel/efi.c
@@ -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
diff --git a/include/asm-ia64/processor.h b/include/asm-ia64/processor.h
index be3b0ae..038642f 100644
--- a/include/asm-ia64/processor.h
+++ b/include/asm-ia64/processor.h
@@ -472,7 +472,7 @@ ia64_set_psr (__u64 psr)
 {
        ia64_stop();
        ia64_setreg(_IA64_REG_PSR_L, psr);
-       ia64_srlz_d();
+       ia64_srlz_i();
 }
 
 /*
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to