From fbc1612a51f0866d13996ef233c0e57ff551ba69 Mon Sep 17 00:00:00 2001 From: Greg White Date: Thu, 4 Jan 2007 11:45:06 +0000 Subject: Move invalidate_icache macro to function in GB target tree, GB only git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11908 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/system.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/firmware/export/system.h b/firmware/export/system.h index 66a21332fc..94922871b6 100644 --- a/firmware/export/system.h +++ b/firmware/export/system.h @@ -181,6 +181,11 @@ enum { #include "system-target.h" #endif #endif +#ifndef SIMULATOR +#if CONFIG_CPU == S3C2440 +#include "system-target.h" +#endif +#endif #if CONFIG_CPU == SH7034 #define or_b(mask, address) \ @@ -342,7 +347,9 @@ static inline void disable_fiq(void) ); } +#if CONFIG_CPU != S3C2440 #define invalidate_icache() +#endif #if CONFIG_CPU == PNX0101 typedef void (*interrupt_handler_t)(void); -- cgit v1.2.3