Anton Vorontsov | d94f944 | 2010-03-25 17:12:41 +0300 | [diff] [blame] | 1 | /* |
| 2 | * Low-level IRQ helper macros for Cavium Networks platforms |
| 3 | * |
| 4 | * Copyright 2008 Cavium Networks |
| 5 | * |
| 6 | * This file is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License, Version 2, as |
| 8 | * published by the Free Software Foundation. |
| 9 | */ |
| 10 | |
| 11 | #include <mach/hardware.h> |
Magnus Damm | 960351f | 2010-11-16 00:54:55 +0100 | [diff] [blame^] | 12 | #include <asm/hardware/entry-macro-gic.S> |
Anton Vorontsov | d94f944 | 2010-03-25 17:12:41 +0300 | [diff] [blame] | 13 | |
| 14 | .macro disable_fiq |
| 15 | .endm |
| 16 | |
| 17 | .macro get_irqnr_preamble, base, tmp |
| 18 | ldr \base, =gic_cpu_base_addr |
| 19 | ldr \base, [\base] |
| 20 | .endm |
| 21 | |
| 22 | .macro arch_ret_to_user, tmp1, tmp2 |
| 23 | .endm |