From: Grant Likely Date: Mon, 10 Jun 2013 11:19:17 +0000 (+0100) Subject: irqdomain: make irq_linear_revmap() a fast path again X-Git-Tag: v3.11-rc1~81^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3dcb436f61593843af178d4a520c8c43c04d3fc;p=pandora-kernel.git 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 --- Reading git-diff-tree failed