Skip to content
Commit eb12ce60 authored by Tejun Heo's avatar Tejun Heo Committed by Ingo Molnar
Browse files

x86,percpu: fix inverted NUMA test in setup_pcpu_remap()



setup_percpu_remap() is for NUMA machines yet it bailed out with
-EINVAL if pcpu_need_numa().  Fix the inverted condition.

This problem was reported by David Miller and verified by Yinhai Lu.

Reported-by: default avatarDavid Miller <davem@davemloft.net>
Reported-by: default avatarYinghai Lu <yinghai@kernel.org>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
LKML-Reference: <49D30469.8020006@kernel.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 0f8f3089
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment