summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/lm32
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-19 21:46:06 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-20 10:02:04 -0500
commit0e74a51ebb6fb2642ec2a050857a65a6b0c480f4 (patch)
treef48c194c3c2f6054a8e48461c57e48f20bb97625 /cpukit/score/cpu/lm32
parentscore/cpu/lm32/rtems/score/cpu.h: Fix set but not used warning (diff)
downloadrtems-0e74a51ebb6fb2642ec2a050857a65a6b0c480f4.tar.bz2
cpukit/score/cpu/lm32/irq.c: Fix warning
Diffstat (limited to 'cpukit/score/cpu/lm32')
-rw-r--r--cpukit/score/cpu/lm32/irq.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpukit/score/cpu/lm32/irq.c b/cpukit/score/cpu/lm32/irq.c
index 5ea3b04837..1c50b1133a 100644
--- a/cpukit/score/cpu/lm32/irq.c
+++ b/cpukit/score/cpu/lm32/irq.c
@@ -29,6 +29,12 @@ void *_exception_stack_frame;
register unsigned long *stack_ptr __asm__ ("sp");
+/*
+ * Prototypes for routines called from assembly that we don't want in
+ * the public name space.
+ */
+void __ISR_Handler(uint32_t vector, CPU_Interrupt_frame *ifr);
+
void __ISR_Handler(uint32_t vector, CPU_Interrupt_frame *ifr)
{
register uint32_t level;