diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2008-01-18 13:12:33 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2008-01-18 13:12:33 +0000 |
commit | 6a8379674c43103c008f841968b84287b8fdaf89 (patch) | |
tree | 39003a711cfff5cdf5ad00a56c70ae34f34d5100 /firmware/system.c | |
parent | 3b36b98ff8dea187bd6c25174978da4f7b5e3231 (diff) |
Finally, out goes struct spinlock for anything but mutiprocessor targets where it becomes a reenterable corelock.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16105 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/system.c')
-rw-r--r-- | firmware/system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/system.c b/firmware/system.c index c186163cf6..2ba31f254f 100644 --- a/firmware/system.c +++ b/firmware/system.c @@ -39,7 +39,7 @@ static bool cpu_idle NOCACHEBSS_ATTR = false; struct spinlock boostctrl_spin NOCACHEBSS_ATTR; void cpu_boost_init(void) { - spinlock_init(&boostctrl_spin, SPINLOCK_NO_TASK_SWITCH); + spinlock_init(&boostctrl_spin); } #endif |