]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86,percpu: fix inverted NUMA test in setup_pcpu_remap()
authorTejun Heo <tj@kernel.org>
Wed, 1 Apr 2009 06:06:33 +0000 (15:06 +0900)
committerIngo Molnar <mingo@elte.hu>
Thu, 2 Apr 2009 04:08:05 +0000 (06:08 +0200)
commiteb12ce60c81826a99eadbc56401e08ceb37a0cc2
tree63a0451af66bb12b7f3e695fee1a9813addbeb9d
parent0f8f308925ebe0480bd9831d32963ee0b885e24b
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: David Miller <davem@davemloft.net>
Reported-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
LKML-Reference: <49D30469.8020006@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/setup_percpu.c