GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / arch / arm / mach-stmp378x / include / mach / entry-macro.S
blob731a92286da229451e7af5b9aad6cb05eed24008
1 /*
2  * Low-level IRQ helper macros for Freescale STMP378X
3  *
4  * Embedded Alley Solutions, Inc <source@embeddedalley.com>
5  *
6  * Copyright 2008 Freescale Semiconductor, Inc. All Rights Reserved.
7  * Copyright 2008 Embedded Alley Solutions, Inc All Rights Reserved.
8  */
11  * The code contained herein is licensed under the GNU General Public
12  * License. You may obtain a copy of the GNU General Public License
13  * Version 2 or later at the following locations:
14  *
15  * http://www.opensource.org/licenses/gpl-license.html
16  * http://www.gnu.org/copyleft/gpl.html
17  */
19                 .macro  disable_fiq
20                 .endm
22                 .macro  get_irqnr_and_base, irqnr, irqstat, base, tmp
24                 mov     \base, #0xf0000000      @ vm address of IRQ controller
25                 ldr     \irqnr, [\base, #0x70]  @ HW_ICOLL_STAT
26                 cmp     \irqnr, #0x7f
27                 moveqs  \irqnr, #0              @ Zero flag set for no IRQ
29                 .endm
31                 .macro  get_irqnr_preamble, base, tmp
32                 .endm
34                 .macro  arch_ret_to_user, tmp1, tmp2
35                 .endm