Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a62c9fe4637f62e3901f8268778dbc8100281d40
Commit:     a62c9fe4637f62e3901f8268778dbc8100281d40
Parent:     e1b1eb011e15190eb859bad0bcae67679bda7d50
Author:     Simon Horman <[EMAIL PROTECTED]>
AuthorDate: Wed Sep 19 14:02:20 2007 +0900
Committer:  Tony Luck <[EMAIL PROTECTED]>
CommitDate: Fri Oct 12 15:21:20 2007 -0700

    [IA64] Remove vector from ia64_machine_kexec()
    
    The use of vector in ia64_machine_kexec() seems spurious,
    and removing it simplifies the code slightly.
    
    As suggested by Alex Williamson <[EMAIL PROTECTED]>
    
    Cc: Alex Williamson <[EMAIL PROTECTED]>
    Signed-off-by: Simon Horman <[EMAIL PROTECTED]>
    Signed-off-by: Tony Luck <[EMAIL PROTECTED]>
---
 arch/ia64/kernel/machine_kexec.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/arch/ia64/kernel/machine_kexec.c b/arch/ia64/kernel/machine_kexec.c
index 4f0f3b8..58e943a 100644
--- a/arch/ia64/kernel/machine_kexec.c
+++ b/arch/ia64/kernel/machine_kexec.c
@@ -79,7 +79,6 @@ static void ia64_machine_kexec(struct unw_frame_info *info, 
void *arg)
        relocate_new_kernel_t rnk;
        void *pal_addr = efi_get_pal_addr();
        unsigned long code_addr = (unsigned 
long)page_address(image->control_code_page);
-       unsigned long vector;
        int ii;
 
        BUG_ON(!image);
@@ -107,11 +106,8 @@ static void ia64_machine_kexec(struct unw_frame_info 
*info, void *arg)
        /* unmask TPR and clear any pending interrupts */
        ia64_setreg(_IA64_REG_CR_TPR, 0);
        ia64_srlz_d();
-       vector = ia64_get_ivr();
-       while (vector != IA64_SPURIOUS_INT_VECTOR) {
+       while (ia64_get_ivr() != IA64_SPURIOUS_INT_VECTOR)
                ia64_eoi();
-               vector = ia64_get_ivr();
-       }
        platform_kernel_launch_event();
        rnk = (relocate_new_kernel_t)&code_addr;
        (*rnk)(image->head, image->start, ia64_boot_param,
-
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