diff options
author | Jeffy Chen <[email protected]> | 2017-06-26 19:33:34 +0800 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2017-06-26 15:47:00 +0200 |
commit | bf22ff45bed664aefb5c4e43029057a199b7070c (patch) | |
tree | 2cb9598c3f09a473df3b4bfc6290e4575b4fcdab /scripts/gdb/linux/tasks.py | |
parent | d829b8fb2431595422289cfc210f0a955a8bec74 (diff) |
genirq: Avoid unnecessary low level irq function calls
Check irq state in enable/disable/unmask/mask_irq to avoid unnecessary
low level irq function calls.
This has two advantages:
- Conditionals are faster than hardware access
- Solves issues with the underlying refcounting of the pinctrl
infrastructure
Suggested-by: Thomas Gleixner <[email protected]>
Signed-off-by: Jeffy Chen <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions