“36268f84ddabfc94c8d01c38b8d60fb3abf5bd27”上不存在“core/src/utils/CommonUtil.cpp”
  • R
    [ARM] idle: clean up pm_idle calling, obey hlt_counter · 9ccdac36
    Russell King 提交于
    pm_idle is used by infrastructure (eg, cpuidle) which expects architectures
    to call it in a certain way.  Arrange for ARM to follow x86's lead on this
    and call pm_idle() with interrupts already disabled.  However, we expect
    pm_idle() to enable interrupts before it returns.
    
    Also, OMAP wants to be able to disable hlt-ing, so allow hlt_counter to
    prevent all calls to pm_idle.
    Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
    9ccdac36
process.c 9.6 KB