3 * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
4 * Marius Groeger <mgroeger@sysgo.de>
7 * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
8 * Alex Zuepke <azu@sysgo.de>
11 * Gary Jennejohn, DENX Software Engineering, <gj@denx.de>
13 * See file CREDITS for list of people who contributed to this
16 * This program is free software; you can redistribute it and/or
17 * modify it under the terms of the GNU General Public License as
18 * published by the Free Software Foundation; either version 2 of
19 * the License, or (at your option) any later version.
21 * This program is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 * GNU General Public License for more details.
26 * You should have received a copy of the GNU General Public License
27 * along with this program; if not, write to the Free Software
28 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
36 #include <asm/proc-armv/ptrace.h>
37 void do_irq (struct pt_regs
*pt_regs
)
39 #if defined (ARM920_IRQ_CALLBACK)
40 ARM920_IRQ_CALLBACK();
41 #elif defined (CONFIG_ARCH_INTEGRATOR)
42 /* ASSUMED to be a timer interrupt */
43 /* Just clear it - count handled in */
45 *(volatile ulong
*)(CFG_TIMERBASE
+ 0x0C) = 0;
47 #error do_irq() not defined for this cpu type