From: Paul Mundt Date: Thu, 23 Sep 2010 11:09:38 +0000 (+0900) Subject: sh: intc: Implement reverse mapping for IRQs to per-controller IDs. X-Git-Tag: v2.6.37-rc1~136^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44629f57accccbb8e6d443246fe6f51b42f7f781;p=pandora-kernel.git sh: intc: Implement reverse mapping for IRQs to per-controller IDs. This implements a scheme roughly analogous to the PowerPC virtual to hardware IRQ mapping, which we use for IRQ to per-controller ID mapping. This makes it possible for drivers to use the IDs directly for lookup instead of hardcoding the vector. The main motivation for this work is as a building block for dynamically allocating virtual IRQs for demuxing INTC events sharing a single INTEVT in addition to a common masking source. Signed-off-by: Paul Mundt --- Reading git-diff-tree failed