summaryrefslogtreecommitdiffstats
path: root/kernel/irq/proc.c
diff options
context:
space:
mode:
authorGrant Likely2013-06-10 13:19:17 +0200
committerGrant Likely2013-06-24 15:02:41 +0200
commitd3dcb436f61593843af178d4a520c8c43c04d3fc (patch)
tree1c2f64841936402a5d01ed923abd427f311a0e7a /kernel/irq/proc.c
parentirqdomain: remove irq_domain_generate_simple() (diff)
downloadkernel-qcow2-linux-d3dcb436f61593843af178d4a520c8c43c04d3fc.tar.gz
kernel-qcow2-linux-d3dcb436f61593843af178d4a520c8c43c04d3fc.tar.xz
kernel-qcow2-linux-d3dcb436f61593843af178d4a520c8c43c04d3fc.zip
irqdomain: make irq_linear_revmap() a fast path again
Over the years, irq_linear_revmap() gained tests and checks to make sure callers were using it safely, which while important, also make it less of a fast path. After the irqdomain refactoring done recently, it is now possible to make irq_linear_revmap() a fast path again. This patch moves irq_linear_revmap() to the header file and makes it a static inline so that interrupt controller drivers using a linear mapping can decode the virq from a hwirq in just a couple of instructions. Signed-off-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'kernel/irq/proc.c')
0 files changed, 0 insertions, 0 deletions