Fix typo in wpa_supplicant (#4208)
[openwrt/openwrt.git] / target / linux / brcm63xx / files / arch / mips / bcm963xx / int-handler.S
1 /*
2 <:copyright-gpl
3 Copyright 2002 Broadcom Corp. All Rights Reserved.
4
5 This program is free software; you can distribute it and/or modify it
6 under the terms of the GNU General Public License (Version 2) as
7 published by the Free Software Foundation.
8
9 This program is distributed in the hope it will be useful, but WITHOUT
10 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 for more details.
13
14 You should have received a copy of the GNU General Public License along
15 with this program; if not, write to the Free Software Foundation, Inc.,
16 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
17 :>
18 */
19 /*
20 * Generic interrupt handler for Broadcom MIPS boards
21 */
22
23 #include <linux/autoconf.h>
24
25 #include <asm/asm.h>
26 #include <asm/mipsregs.h>
27 #include <asm/regdef.h>
28 #include <asm/stackframe.h>
29
30 /*
31 * MIPS IRQ Source
32 * -------- ------
33 * 0 Software (ignored)
34 * 1 Software (ignored)
35 * 2 Combined hardware interrupt (hw0)
36 * 3 Hardware
37 * 4 Hardware
38 * 5 Hardware
39 * 6 Hardware
40 * 7 R4k timer
41 */
42
43 .text
44 .set noreorder
45 .set noat
46 .align 5
47 NESTED(brcmIRQ, PT_SIZE, sp)
48 SAVE_ALL
49 CLI
50 .set noreorder
51 .set at
52
53 jal plat_irq_dispatch
54 move a0, sp
55
56 j ret_from_irq
57 nop
58
59 END(brcmIRQ)