From ef5e4ea587c10d3a936f807d6fa2a81c71a86511 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Fri, 19 Nov 2010 13:54:39 +0000 Subject: target-sparc: remove unused functions cpu_lock(), cpu_unlock() --- target-sparc/helper.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'target-sparc/helper.c') diff --git a/target-sparc/helper.c b/target-sparc/helper.c index e84c31256f..7e45d7ac5c 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, -- cgit v1.2.1