diff options
| author | Jamie Iles <jamie@jamieiles.com> | 2011-09-27 15:22:21 -0400 |
|---|---|---|
| committer | Marc Zyngier <marc.zyngier@arm.com> | 2011-11-15 13:14:03 -0500 |
| commit | 14f127badadb3960f73c63dac91092a7425aa38e (patch) | |
| tree | ce097a6f89958215d87fdf696e7fb1848fd5ff03 /arch/arm/mach-netx/include/mach | |
| parent | 9a6879bd902e2ec605fff4d9fb3247b440a1f66a (diff) | |
ARM: netx: convert to MULTI_IRQ_HANDLER
Now that there is a generic IRQ handler for multiple VIC devices use it
for netx to help building multi platform kernels.
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Diffstat (limited to 'arch/arm/mach-netx/include/mach')
| -rw-r--r-- | arch/arm/mach-netx/include/mach/entry-macro.S | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/arm/mach-netx/include/mach/entry-macro.S b/arch/arm/mach-netx/include/mach/entry-macro.S index 844f1f9acbdf..6e9f1cbe1634 100644 --- a/arch/arm/mach-netx/include/mach/entry-macro.S +++ b/arch/arm/mach-netx/include/mach/entry-macro.S | |||
| @@ -18,22 +18,9 @@ | |||
| 18 | * along with this program; if not, write to the Free Software | 18 | * along with this program; if not, write to the Free Software |
| 19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 20 | */ | 20 | */ |
| 21 | #include <mach/hardware.h> | ||
| 22 | 21 | ||
| 23 | .macro disable_fiq | 22 | .macro disable_fiq |
| 24 | .endm | 23 | .endm |
| 25 | 24 | ||
| 26 | .macro get_irqnr_preamble, base, tmp | ||
| 27 | ldr \base, =io_p2v(0x001ff000) | ||
| 28 | .endm | ||
| 29 | |||
| 30 | .macro arch_ret_to_user, tmp1, tmp2 | 25 | .macro arch_ret_to_user, tmp1, tmp2 |
| 31 | .endm | 26 | .endm |
| 32 | |||
| 33 | .macro get_irqnr_and_base, irqnr, irqstat, base, tmp | ||
| 34 | ldr \irqstat, [\base, #0] | ||
| 35 | clz \irqnr, \irqstat | ||
| 36 | rsb \irqnr, \irqnr, #31 | ||
| 37 | cmp \irqstat, #0 | ||
| 38 | .endm | ||
| 39 | |||
