• Tony Lindgren's avatar
    [PATCH] fix next_timer_interrupt() for hrtimer · 69239749
    Tony Lindgren authored
    Also from Thomas Gleixner <tglx@linutronix.de>
    
    Function next_timer_interrupt() got broken with a recent patch
    6ba1b912
    
     as sys_nanosleep() was moved to
    hrtimer.  This broke things as next_timer_interrupt() did not check hrtimer
    tree for next event.
    
    Function next_timer_interrupt() is needed with dyntick (CONFIG_NO_IDLE_HZ,
    VST) implementations, as the system can be in idle when next hrtimer event
    was supposed to happen.  At least ARM and S390 currently use
    next_timer_interrupt().
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
    Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
    Cc: Russell King <rmk@arm.linux.org.uk>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    69239749
time.c 10.9 KB