diff options
Diffstat (limited to 'arch/x86/kernel/smpboot.c')
-rw-r--r-- | arch/x86/kernel/smpboot.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 2a165580fa16..85dc05a3aa02 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c | |||
@@ -81,27 +81,6 @@ | |||
81 | /* State of each CPU */ | 81 | /* State of each CPU */ |
82 | DEFINE_PER_CPU(int, cpu_state) = { 0 }; | 82 | DEFINE_PER_CPU(int, cpu_state) = { 0 }; |
83 | 83 | ||
84 | #ifdef CONFIG_HOTPLUG_CPU | ||
85 | /* | ||
86 | * We need this for trampoline_base protection from concurrent accesses when | ||
87 | * off- and onlining cores wildly. | ||
88 | */ | ||
89 | static DEFINE_MUTEX(x86_cpu_hotplug_driver_mutex); | ||
90 | |||
91 | void cpu_hotplug_driver_lock(void) | ||
92 | { | ||
93 | mutex_lock(&x86_cpu_hotplug_driver_mutex); | ||
94 | } | ||
95 | |||
96 | void cpu_hotplug_driver_unlock(void) | ||
97 | { | ||
98 | mutex_unlock(&x86_cpu_hotplug_driver_mutex); | ||
99 | } | ||
100 | |||
101 | ssize_t arch_cpu_probe(const char *buf, size_t count) { return -1; } | ||
102 | ssize_t arch_cpu_release(const char *buf, size_t count) { return -1; } | ||
103 | #endif | ||
104 | |||
105 | /* Number of siblings per CPU package */ | 84 | /* Number of siblings per CPU package */ |
106 | int smp_num_siblings = 1; | 85 | int smp_num_siblings = 1; |
107 | EXPORT_SYMBOL(smp_num_siblings); | 86 | EXPORT_SYMBOL(smp_num_siblings); |