Skip to content
  • Thomas Gleixner's avatar
    hrtimer: optimize the softirq time optimization · 259aae86
    Thomas Gleixner authored
    
    
    The previous optimization did not take the case into account where a
    clock provides its own softirq_get_time() function.
    
    Check for the availablitiy of the clock get time function first and
    then check if we need to retrieve the time for both clocks via
    hrtimer_softirq_gettime() to avoid a double evaluation of time in that
    case as well.
    
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    259aae86