• Russell King's avatar
    The some of the existing ARM CPU "wait for interrupt" implementations · 76695841
    Russell King authored
    were buggy - they'd test hlt_counter/need_resched with interrupts
    enabled, and then go to sleep.  An interrupt could be received between
    the test and sleeping, and we could have 10ms latency before we ran
    a task.  This changeset fixes this by providing a generic "cpu idle"
    wrapper that handles these issues.
    76695841
system.h 426 Bytes