aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup_percpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/setup_percpu.c')
-rw-r--r--arch/x86/kernel/setup_percpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/setup_percpu.c b/arch/x86/kernel/setup_percpu.c
index 400331b50a5..876b1271c1d 100644
--- a/arch/x86/kernel/setup_percpu.c
+++ b/arch/x86/kernel/setup_percpu.c
@@ -162,7 +162,7 @@ static ssize_t __init setup_pcpu_remap(size_t static_size)
162 * If large page isn't supported, there's no benefit in doing 162 * If large page isn't supported, there's no benefit in doing
163 * this. Also, on non-NUMA, embedding is better. 163 * this. Also, on non-NUMA, embedding is better.
164 */ 164 */
165 if (!cpu_has_pse || pcpu_need_numa()) 165 if (!cpu_has_pse || !pcpu_need_numa())
166 return -EINVAL; 166 return -EINVAL;
167 167
168 last = NULL; 168 last = NULL;