diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2010-11-19 13:54:44 +0000 |
---|---|---|
committer | Riku Voipio <riku.voipio@nokia.com> | 2010-12-03 15:09:38 +0200 |
commit | b0e102dd22e7a158fa3dc4148ab6c2e78b363071 (patch) | |
tree | 0ad262b2e84f5fab87bde4b64856ce8682b07061 /target-arm/op_helper.c | |
parent | 6a8657528d94fa1be78d1be0821a01a251fa2de9 (diff) |
[PATCH] target-arm: remove unused functions cpu_lock(), cpu_unlock()
Signed-off-by: Riku Voipio <riku.voipio@nokia.com>
Diffstat (limited to 'target-arm/op_helper.c')
-rw-r--r-- | target-arm/op_helper.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/target-arm/op_helper.c b/target-arm/op_helper.c index 9b1a0143d2..43baa63006 100644 --- a/target-arm/op_helper.c +++ b/target-arm/op_helper.c @@ -28,20 +28,6 @@ void raise_exception(int tt) cpu_loop_exit(); } -/* thread support */ - -static spinlock_t global_cpu_lock = SPIN_LOCK_UNLOCKED; - -void cpu_lock(void) -{ - spin_lock(&global_cpu_lock); -} - -void cpu_unlock(void) -{ - spin_unlock(&global_cpu_lock); -} - uint32_t HELPER(neon_tbl)(uint32_t ireg, uint32_t def, uint32_t rn, uint32_t maxindex) { |