summaryrefslogtreecommitdiff
path: root/kernel/time/timer.c
diff options
context:
space:
mode:
authorGary S. Robertson <gary.robertson@linaro.org>2014-09-10 14:57:16 -0500
committerOlav Haugan <ohaugan@codeaurora.org>2016-09-20 17:47:12 -0700
commit84e39dcb3bf4b0ea5ed9b1bcd1b1fb43d2a4bc63 (patch)
tree0552691e91a12c3e54c6c910b9f419bbc9934930 /kernel/time/timer.c
parenta66156c83c6de8dd2e614d6ad37afe7673ca1473 (diff)
hrtimer.h: prevent pinned timer state from breaking inactive test
An hrtimer may be pinned to a CPU but inactive, so it is no longer valid to test the hrtimer.state struct member as having no bits set when inactive. Changed the test function to mask out the HRTIMER_STATE_PINNED bit when checking for inactive state. Change-Id: I632f37874ef79887ee1202a028ef734f392d6ed0 Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org> [ohaugan@codeaurora.org: Port to 4.4] Git-commit: 902e4d4eb0d2158d2792166221a72a829caecf07 Git-repo: git://git.linaro.org/people/mike.holmes/santosh.shukla/lng-isol.git Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
Diffstat (limited to 'kernel/time/timer.c')
0 files changed, 0 insertions, 0 deletions