ARM: 6475/1: Introduce asm/hardware/entry-macro-gic.S
authorMagnus Damm <magnus.damm@gmail.com>
Mon, 15 Nov 2010 23:48:07 +0000 (00:48 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 7 Dec 2010 09:20:24 +0000 (09:20 +0000)
commit161d1907607a5a562a152058c8daf1780ce7a00b
tree0166cebedcd66a0f34c1d7cfcb51106add5b1019
parentcf7d7e5a1980d1116ee152d25dac382b112b9c17
ARM: 6475/1: Introduce asm/hardware/entry-macro-gic.S

This patch is the identical GIC demux implementation
merge V3. Instead of implementing same code over and
over simply share it in entry-macro-gic.S. The shared
code is based on the realview implementation.

Each GIC demux instance still has to setup the base address
of the controller using the get_irqnr_preamble macro. The
rest of the GIC specific code can be shared.

Signed-off-by: Magnus Damm <damm@opensource.se>
Acked-by: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/hardware/entry-macro-gic.S [new file with mode: 0644]