Commit 930378d0 authored by Mathieu Desnoyers's avatar Mathieu Desnoyers Committed by Peter Zijlstra
Browse files
parent bfdf4e62
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -368,9 +368,7 @@ void *test_percpu_spinlock_thread(void *arg)
		abort();
	reps = thread_data->reps;
	for (i = 0; i < reps; i++) {
		int cpu = rseq_cpu_start();

		cpu = rseq_this_cpu_lock(&data->lock);
		int cpu = rseq_this_cpu_lock(&data->lock);
		data->c[cpu].count++;
		rseq_percpu_unlock(&data->lock, cpu);
#ifndef BENCHMARK