x86: correct bogus error indicator of cpu_add()
authorJan Beulich <jbeulich@suse.com>
Mon, 30 Sep 2019 13:46:24 +0000 (15:46 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 30 Sep 2019 13:46:24 +0000 (15:46 +0200)
commitfedd7c073b40fa1b74e825a822fc280f01d59160
tree62b51fbc468948637d3b404e5d76bb1563c3ffab
parent7cc2fe0ddcc2dacbe0cbc86be1ee6b1cfac93cc6
x86: correct bogus error indicator of cpu_add()

Commit 54ce2db8b8 ("x86/numa: adjust datatypes for node and pxm")
changed this from the -1 (i.e. -EPERM, which was already bogus) that
comes back from setup_node() to NUMA_NO_NODE (0xff). Use a proper error
indicator instead.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/arch/x86/smpboot.c