Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=abd0a782359717ded8f663bc5b8e5e9e3cc4f5e7
Commit:     abd0a782359717ded8f663bc5b8e5e9e3cc4f5e7
Parent:     5171b100511513bc52875055f7d900fc3f7c922b
Author:     Hirokazu Takata <[EMAIL PROTECTED]>
AuthorDate: Fri Aug 17 23:40:37 2007 +0900
Committer:  Hirokazu Takata <[EMAIL PROTECTED]>
CommitDate: Mon Sep 3 11:30:18 2007 +0900

    m32r: Exit ei_handler directly for no IRQ case or IPI operations
    
    If no IRQ request is found in the IRQ check of ei_handler,
    we can exit directly by jumping "restore_all", instead of via
    "ret_from_intr".
    
    This modification is also likely effective for IPI operations,
    because scheduler call never happen at the exit of IPIs.
    
    Signed-off-by: Hitoshi Yamamoto <[EMAIL PROTECTED]>
    Signed-off-by: Hirokazu Takata <[EMAIL PROTECTED]>
---
 arch/m32r/kernel/entry.S |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/arch/m32r/kernel/entry.S b/arch/m32r/kernel/entry.S
index 07d95a4..4b3a774 100644
--- a/arch/m32r/kernel/entry.S
+++ b/arch/m32r/kernel/entry.S
@@ -333,7 +333,7 @@ ENTRY(ei_handler)
        .fillinsn
 1:
        addi    sp, #4
-       bra     ret_to_intr
+       bra     restore_all
        .fillinsn
 2:
        srli    r0, #2
@@ -382,7 +382,6 @@ check_end:
        pop     r14
        seth    r0, #shigh(M32R_ICU_IMASK_ADDR)
        st      r14, @(low(M32R_ICU_IMASK_ADDR),r0)
-ret_to_intr:
        bra  ret_from_intr
 
 /*
-
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