omap2/3: Make get_irqnr_and_base common for mach-omap2 multiboot
authorTony Lindgren <tony@atomide.com>
Mon, 15 Feb 2010 17:26:51 +0000 (09:26 -0800)
committerTony Lindgren <tony@atomide.com>
Mon, 15 Feb 2010 17:26:51 +0000 (09:26 -0800)
commit9556175183ddf19e9a7afa449c259a0a5081fa29
tree523efe187c98241d7575f2b4b12ce686a388c176
parentbe26a3df0b80307bf8f73cea535c112210151bb9
omap2/3: Make get_irqnr_and_base common for mach-omap2 multiboot

Make get_irqnr_and_base common for mach-omap2 multiboot

Thanks to a tip from Russell King <rmk+kernel@arm.linux.org.uk>,
this also optimizes the code for non-multiboot configurations by
using get_irqnr_preamble.

Note that this will only work currently for 24xx and 34xx.
Support for 44xx can be added later on for basic multiboot,
and similar patch should be done for mach-omap1/entry-macro.S.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/include/mach/entry-macro.S