summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/gen5200/include/tm27.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/powerpc/gen5200/include/tm27.h')
-rw-r--r--bsps/powerpc/gen5200/include/tm27.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/bsps/powerpc/gen5200/include/tm27.h b/bsps/powerpc/gen5200/include/tm27.h
index 583aaa42bd..bd3dbb2d85 100644
--- a/bsps/powerpc/gen5200/include/tm27.h
+++ b/bsps/powerpc/gen5200/include/tm27.h
@@ -26,19 +26,20 @@
#define MUST_WAIT_FOR_INTERRUPT 1
-void nullFunc(void) {}
+static void nullFunc(void) {}
static rtems_irq_connect_data clockIrqData = {BSP_DECREMENTER,
0,
(rtems_irq_enable) nullFunc,
(rtems_irq_disable) nullFunc,
(rtems_irq_is_enabled) nullFunc};
-static void Install_tm27_vector(void (*_handler)(void))
+
+RTEMS_INLINE_ROUTINE void Install_tm27_vector(void (*_handler)(void))
{
clockIrqData.hdl = _handler;
if (!BSP_install_rtems_irq_handler (&clockIrqData)) {
- printk("Error installing clock interrupt handler!\n");
- bsp_fatal(MPC5200_FATAL_TM27_IRQ_INSTALL);
+ printk("Error installing clock interrupt handler!\n");
+ bsp_fatal(MPC5200_FATAL_TM27_IRQ_INSTALL);
}
}