summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2007-04-22 12:27:54 +0000
committerBarry Wardell <rockbox@barrywardell.net>2007-04-22 12:27:54 +0000
commitee80bcaa79bfb30da0860c0ce47dbc6b7f4c0ed7 (patch)
tree4e86d64caaa4f8157baffb24a9c279e42c3683cb /firmware
parentf43e50dc5333c096366a2a1cfd24728ea8030f62 (diff)
downloadrockbox-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.c4
-rw-r--r--firmware/target/arm/system-pp502x.c4
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;
36static int boost_counter NOCACHEBSS_ATTR = 0; 36static int boost_counter NOCACHEBSS_ATTR = 0;
37static bool cpu_idle NOCACHEBSS_ATTR = false; 37static bool cpu_idle NOCACHEBSS_ATTR = false;
38 38
39#if NUM_CORES > 1
40struct mutex boostctrl_mtx NOCACHEBSS_ATTR;
41#endif
42
43int get_cpu_boost_counter(void) 39int get_cpu_boost_counter(void)
44{ 40{
45 return boost_counter; 41 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 @@
30 30
31unsigned int ipod_hw_rev; 31unsigned int ipod_hw_rev;
32 32
33#if NUM_CORES > 1
34struct mutex boostctrl_mtx NOCACHEBSS_ATTR;
35#endif
36
33#ifndef BOOTLOADER 37#ifndef BOOTLOADER
34extern void TIMER1(void); 38extern void TIMER1(void);
35extern void TIMER2(void); 39extern void TIMER2(void);