[rtems commit] bsp/virtex5: Fix define location
Sebastian Huber
sebh at rtems.org
Mon Jan 14 07:12:42 UTC 2013
Module: rtems
Branch: master
Commit: f7351e4ea59d0bbdba656b9afcb44d6ba316e518
Changeset: http://git.rtems.org/rtems/commit/?id=f7351e4ea59d0bbdba656b9afcb44d6ba316e518
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Jan 14 08:16:04 2013 +0100
bsp/virtex5: Fix define location
---
c/src/lib/libbsp/powerpc/virtex5/include/irq.h | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/c/src/lib/libbsp/powerpc/virtex5/include/irq.h b/c/src/lib/libbsp/powerpc/virtex5/include/irq.h
index a87562f..3d34328 100644
--- a/c/src/lib/libbsp/powerpc/virtex5/include/irq.h
+++ b/c/src/lib/libbsp/powerpc/virtex5/include/irq.h
@@ -69,12 +69,11 @@ extern "C" {
extern rtems_irq_connect_data *BSP_rtems_irq_tbl;
void BSP_rtems_irq_mngt_init(unsigned cpuId);
-#ifdef __cplusplus
-}
-
#define BSP_DEC BSP_PIT
#define BSP_DECREMENTER BSP_PIT
+#ifdef __cplusplus
+}
#endif
#endif /* ASM */
More information about the vc
mailing list