diff options
-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; | |||
36 | static int boost_counter NOCACHEBSS_ATTR = 0; | 36 | static int boost_counter NOCACHEBSS_ATTR = 0; |
37 | static bool cpu_idle NOCACHEBSS_ATTR = false; | 37 | static bool cpu_idle NOCACHEBSS_ATTR = false; |
38 | 38 | ||
39 | #if NUM_CORES > 1 | ||
40 | struct mutex boostctrl_mtx NOCACHEBSS_ATTR; | ||
41 | #endif | ||
42 | |||
43 | int get_cpu_boost_counter(void) | 39 | int 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 | ||
31 | unsigned int ipod_hw_rev; | 31 | unsigned int ipod_hw_rev; |
32 | 32 | ||
33 | #if NUM_CORES > 1 | ||
34 | struct mutex boostctrl_mtx NOCACHEBSS_ATTR; | ||
35 | #endif | ||
36 | |||
33 | #ifndef BOOTLOADER | 37 | #ifndef BOOTLOADER |
34 | extern void TIMER1(void); | 38 | extern void TIMER1(void); |
35 | extern void TIMER2(void); | 39 | extern void TIMER2(void); |