diff options
-rw-r--r-- | kernel/cpu.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c index 0964e93e925f..8f87b722a82b 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -54,11 +54,7 @@ static struct { int refcount; } cpu_hotplug = { .active_writer = NULL, -#ifdef CONFIG_PREEMPT_RT_FULL - .lock = __SPIN_LOCK_UNLOCKED(cpu_hotplug.lock), -#else .lock = __MUTEX_INITIALIZER(cpu_hotplug.lock), -#endif .refcount = 0, }; |