diff options
author | Barry Wardell <rockbox@barrywardell.net> | 2007-04-22 12:27:54 +0000 |
---|---|---|
committer | Barry Wardell <rockbox@barrywardell.net> | 2007-04-22 12:27:54 +0000 |
commit | ee80bcaa79bfb30da0860c0ce47dbc6b7f4c0ed7 (patch) | |
tree | 4e86d64caaa4f8157baffb24a9c279e42c3683cb /firmware | |
parent | f43e50dc5333c096366a2a1cfd24728ea8030f62 (diff) | |
download | rockbox-ee80bcaa79bfb30da0860c0ce47dbc6b7f4c0ed7.tar.gz rockbox-ee80bcaa79bfb30da0860c0ce47dbc6b7f4c0ed7.zip |
Fix build errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13240 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/system.c | 4 | ||||
-rw-r--r-- | 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); |