summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/s3c2440/system-s3c2440.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/s3c2440/system-s3c2440.c')
-rw-r--r--firmware/target/arm/s3c2440/system-s3c2440.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/arm/s3c2440/system-s3c2440.c b/firmware/target/arm/s3c2440/system-s3c2440.c
index 577b46966c..1e5613f7b6 100644
--- a/firmware/target/arm/s3c2440/system-s3c2440.c
+++ b/firmware/target/arm/s3c2440/system-s3c2440.c
@@ -23,6 +23,7 @@
#include "panic.h"
#include "mmu-arm.h"
#include "cpu.h"
+#include "gcc_extensions.h"
#define default_interrupt(name) \
extern __attribute__((weak,alias("UIRQ"))) void name (void)
@@ -60,7 +61,7 @@ default_interrupt(SPI1);
default_interrupt(RTC);
default_interrupt(ADC);
-static void (* const irqvector[32])(void) __attribute__((__used__)) =
+static void (* const irqvector[32])(void) USED_ATTR =
{
EINT0, EINT1, EINT2, EINT3,
EINT4_7, EINT8_23, CAM, nBATT_FLT, TICK, WDT_AC97,