From ee80bcaa79bfb30da0860c0ce47dbc6b7f4c0ed7 Mon Sep 17 00:00:00 2001 From: Barry Wardell Date: Sun, 22 Apr 2007 12:27:54 +0000 Subject: [PATCH] Fix build errors. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13240 a1c6a512-1295-4272-9138-f99709370657 --- firmware/system.c | 4 ---- firmware/target/arm/system-pp502x.c | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/firmware/system.c b/firmware/system.c index badeb30e84..a3a354f713 100644 --- a/firmware/system.c +++ b/firmware/system.c @@ -36,10 +36,6 @@ long cpu_frequency NOCACHEBSS_ATTR = CPU_FREQ; static int boost_counter NOCACHEBSS_ATTR = 0; static bool cpu_idle NOCACHEBSS_ATTR = false; -#if NUM_CORES > 1 -struct mutex boostctrl_mtx NOCACHEBSS_ATTR; -#endif - int get_cpu_boost_counter(void) { return boost_counter; diff --git a/firmware/target/arm/system-pp502x.c b/firmware/target/arm/system-pp502x.c index afffcd9283..1fe5860fb9 100644 --- a/firmware/target/arm/system-pp502x.c +++ b/firmware/target/arm/system-pp502x.c @@ -30,6 +30,10 @@ unsigned int ipod_hw_rev; +#if NUM_CORES > 1 +struct mutex boostctrl_mtx NOCACHEBSS_ATTR; +#endif + #ifndef BOOTLOADER extern void TIMER1(void); extern void TIMER2(void);