• Torben Hohn's avatar
    time: Provide get_xtime_and_monotonic_offset() · 48cf76f7
    Torben Hohn authored
    The hrtimer code accesses timekeeping variables under
    xtime_lock. Provide a sensible accessor function and use it.
    
    [ tglx: Removed the conditionals, unused variable, fixed codingstyle
      	and massaged changelog ]
    Signed-off-by: default avatarTorben Hohn <torbenh@gmx.de>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: johnstul@us.ibm.com
    Cc: yong.zhang0@gmail.com
    Cc: hch@infradead.org
    LKML-Reference: <20110127145905.23248.30458.stgit@localhost>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    48cf76f7
hrtimer.c 45.4 KB