aboutsummaryrefslogtreecommitdiff
path: root/block/partitions/sgi.c
diff options
context:
space:
mode:
authorJeffy Chen2017-06-26 19:33:34 +0800
committerThomas Gleixner2017-06-26 15:47:00 +0200
commitbf22ff45bed664aefb5c4e43029057a199b7070c (patch)
tree2cb9598c3f09a473df3b4bfc6290e4575b4fcdab /block/partitions/sgi.c
parentd829b8fb2431595422289cfc210f0a955a8bec74 (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 <tglx@linutronix.de> Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: tfiga@chromium.org Cc: briannorris@chromium.org Cc: dianders@chromium.org Link: http://lkml.kernel.org/r/1498476814-12563-2-git-send-email-jeffy.chen@rock-chips.com
Diffstat (limited to 'block/partitions/sgi.c')
0 files changed, 0 insertions, 0 deletions