mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-19 10:50:57 +08:00
bsps/powerpc: Undef BSP_SHARED_HANDLER_SUPPORT before defining it again
Fixes a redefinition warning
This commit is contained in:
committed by
Gedare Bloom
parent
f354bfc07f
commit
12455d8a93
@@ -22,7 +22,9 @@
|
||||
#ifndef LIBBSP_POWERPC_MOT_PPC_NEW_IRQ_IRQ_H
|
||||
#define LIBBSP_POWERPC_MOT_PPC_NEW_IRQ_IRQ_H
|
||||
|
||||
#ifndef BSP_SHARED_HANDLER_SUPPORT
|
||||
#define BSP_SHARED_HANDLER_SUPPORT 1
|
||||
#endif
|
||||
#include <rtems/irq.h>
|
||||
#include <bsp/vectors.h>
|
||||
#include <bsp/irq-default.h>
|
||||
|
||||
@@ -30,7 +30,9 @@
|
||||
#ifndef BSP_POWERPC_IRQ_H
|
||||
#define BSP_POWERPC_IRQ_H
|
||||
|
||||
#ifndef BSP_SHARED_HANDLER_SUPPORT
|
||||
#define BSP_SHARED_HANDLER_SUPPORT 1
|
||||
#endif
|
||||
#include <rtems/irq.h>
|
||||
|
||||
#ifndef ASM
|
||||
|
||||
@@ -27,7 +27,9 @@
|
||||
#ifndef LIBBSP_POWERPC_MVME5500_IRQ_IRQ_H
|
||||
#define LIBBSP_POWERPC_MVME5500_IRQ_IRQ_H
|
||||
|
||||
#ifndef BSP_SHARED_HANDLER_SUPPORT
|
||||
#define BSP_SHARED_HANDLER_SUPPORT 1
|
||||
#endif
|
||||
#include <rtems/irq.h>
|
||||
|
||||
#ifndef ASM
|
||||
|
||||
@@ -19,7 +19,9 @@
|
||||
#ifndef LIBBSP_POWERPC_IRQ_H
|
||||
#define LIBBSP_POWERPC_IRQ_H
|
||||
|
||||
#ifndef BSP_SHARED_HANDLER_SUPPORT
|
||||
#define BSP_SHARED_HANDLER_SUPPORT 1
|
||||
#endif
|
||||
|
||||
#ifndef ASM
|
||||
|
||||
|
||||
@@ -19,7 +19,9 @@
|
||||
#ifndef LIBBSP_POWERPC_IRQ_H
|
||||
#define LIBBSP_POWERPC_IRQ_H
|
||||
|
||||
#ifndef BSP_SHARED_HANDLER_SUPPORT
|
||||
#define BSP_SHARED_HANDLER_SUPPORT 1
|
||||
#endif
|
||||
|
||||
#ifndef ASM
|
||||
|
||||
|
||||
Reference in New Issue
Block a user