aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorViresh Kumar <[email protected]>2015-12-23 11:29:13 +0000
committerDaniel Lezcano <[email protected]>2016-02-25 13:34:06 +0000
commit3effa3ceea2da9f67f042a694e24ba0d8143cff8 (patch)
tree7d1167d085aad19bd224a9758328dab7698b47ab /net/switchdev/switchdev.c
parentclockevents/drivers/arm_arch_timer: Implement ->set_state_oneshot_stopped() (diff)
downloadkernel-3effa3ceea2da9f67f042a694e24ba0d8143cff8.tar.gz
kernel-3effa3ceea2da9f67f042a694e24ba0d8143cff8.zip
clockevents/drivers/arm_global_timer: Implement ->set_state_oneshot_stopped()
set_state_oneshot_stopped() is called by the clkevt core, when the next event is required at an expiry time of 'KTIME_MAX'. This normally happens with NO_HZ_{IDLE|FULL} in both LOWRES/HIGHRES modes. This patch makes the clockevent device to stop on such an event, to avoid spurious interrupts, as explained by: commit 8fff52fd5093 ("clockevents: Introduce CLOCK_EVT_STATE_ONESHOT_STOPPED state"). Signed-off-by: Viresh Kumar <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions