Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=39d44a51474a52bec6d72d30ebc76f5159101d90
Commit:     39d44a51474a52bec6d72d30ebc76f5159101d90
Parent:     5ee613b6751cd91db4b6bd7c1dc9d2f9cf65cde2
Author:     Hiroshi Shimamoto <[EMAIL PROTECTED]>
AuthorDate: Wed Jan 30 13:30:06 2008 +0100
Committer:  Ingo Molnar <[EMAIL PROTECTED]>
CommitDate: Wed Jan 30 13:30:06 2008 +0100

    x86: enable irq in default_idle on 64-bit
    
    local_irq_enable() is missing after sched_clock_idle_wakeup_event().
    
    Signed-off-by: Hiroshi Shimamoto <[EMAIL PROTECTED]>
    Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]>
    Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
---
 arch/x86/kernel/process_64.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c
index 40fed47..2c9e594 100644
--- a/arch/x86/kernel/process_64.c
+++ b/arch/x86/kernel/process_64.c
@@ -126,8 +126,8 @@ static void default_idle(void)
                t1 = ktime_get();
                t1n = ktime_to_ns(t1);
                sched_clock_idle_wakeup_event(t1n - t0n);
-       } else
-               local_irq_enable();
+       }
+       local_irq_enable();
        current_thread_info()->status |= TS_POLLING;
 }
 
-
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