blob: e75d5e3ca86807c81a805cbdad5d61a7d34a4dbe [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (C) 1995, 1996, 1997, 2003 by Ralf Baechle
7 * Copyright (C) 2001, 2002, 2003 by Liam Davies (ldavies@agile.tv)
8 */
9#include <asm/asm.h>
10#include <asm/mipsregs.h>
Ralf Baechle11ed6d52006-01-18 23:26:43 +000011#include <asm/mach-cobalt/cobalt.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070012#include <asm/regdef.h>
13#include <asm/stackframe.h>
14
15 .text
16 .align 5
17 NESTED(cobalt_handle_int, PT_SIZE, sp)
18 SAVE_ALL
19 CLI
20
Ralf Baechlec4ed38a2005-02-21 16:18:36 +000021 PTR_LA ra, ret_from_irq
22 move a0, sp
Linus Torvalds1da177e2005-04-16 15:20:36 -070023 j cobalt_irq
24
25 END(cobalt_handle_int)