aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorChanghwan Youn <[email protected]>2010-09-29 20:31:42 +0900
committerKukjin Kim <[email protected]>2010-10-21 07:52:18 +0900
commit0c0f909689c8387265a3682d4205c063071ec36a (patch)
tree3d341bd807e1bd050a393ee3ead44ff87bcda036 /include/linux/timerqueue.h
parent8d75c9128a07bd1f81952a518ed818d1a3e90c96 (diff)
ARM: S5PV310: Optimize interrupt source searching code
It is reported by Junseok Jung that using clz instruction is better instead of using for-loop to find the interrupt source. This patch modifies interrupt source searching code using __ffs(). The __ffs() is implemented using clz instruction. Suggested-by: Junseok Jung <[email protected]> Signed-off-by: Changhwan Youn <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions