sparc32: introduce build_device_irq
authorSam Ravnborg <sam@ravnborg.org>
Sat, 26 Feb 2011 07:01:19 +0000 (23:01 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Mar 2011 01:19:14 +0000 (18:19 -0700)
commit1d05995b0880b23353741d5b2b826f7c2fd6a296
tree47fa622ab354f0fb88a7cb626797de186068d329
parentbbdc2661eabddd442240533a66b2290f77d89ccc
sparc32: introduce build_device_irq

build_device_irq() is used to encapsulate the plaform
specific details when we build an irq.
For now the default is a simple 1:1 but sun4d differs.
This patch refactors functionality - but does not change
the existing functionality.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/irq.h
arch/sparc/kernel/irq_32.c
arch/sparc/kernel/of_device_32.c
arch/sparc/kernel/sun4d_irq.c