• Paul Mundt's avatar
    sh: clockevent/clocksource/hrtimers/nohz TMU support. · 57be2b48
    Paul Mundt authored
    This adds basic support for clockevents and clocksources,
    presently only implemented for TMU-based systems (which
    are the majority of SH-3 and SH-4 systems).
    
    The old NO_IDLE_HZ implementation is also dropped completely,
    the only users of this were on TMU-based systems anyways.
    
    More work needs to be done to generalize the TMU handling,
    in that the current implementation is rather tied to the
    notion of TMU0 and TMU1 utilization.
    
    Additionally, as more SH timers switch over to this scheme,
    we'll be able to gut most of the remaining system timer
    infrastructure that existed before.
    Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
    57be2b48
time.c 6.26 KB