diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2010-11-19 13:54:39 +0000 |
---|---|---|
committer | Riku Voipio <riku.voipio@nokia.com> | 2010-12-03 15:09:39 +0200 |
commit | ef5e4ea587c10d3a936f807d6fa2a81c71a86511 (patch) | |
tree | f4200f60c3b7b3358a3d6cc10537b4b0e83fa4a5 /target-sparc/helper.c | |
parent | 3a807decfa5245d3eb50c9301e73fc5da4a484e1 (diff) | |
download | qemu-ef5e4ea587c10d3a936f807d6fa2a81c71a86511.zip qemu-ef5e4ea587c10d3a936f807d6fa2a81c71a86511.tar.gz qemu-ef5e4ea587c10d3a936f807d6fa2a81c71a86511.tar.bz2 |
target-sparc: remove unused functions cpu_lock(), cpu_unlock()
Diffstat (limited to 'target-sparc/helper.c')
-rw-r--r-- | target-sparc/helper.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/target-sparc/helper.c b/target-sparc/helper.c index e84c312..7e45d7a 100644 --- a/target-sparc/helper.c +++ b/target-sparc/helper.c @@ -41,20 +41,6 @@ static int cpu_sparc_find_by_name(sparc_def_t *cpu_def, const char *cpu_model); /* Sparc MMU emulation */ -/* 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); -} - #if defined(CONFIG_USER_ONLY) int cpu_sparc_handle_mmu_fault(CPUState *env1, target_ulong address, int rw, |