From: Paul Mundt Date: Wed, 8 Apr 2009 00:11:15 +0000 (-0700) Subject: sh: Provide cpumask_of_pcibus() to fix NUMA build. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b35346fd25f3c8c0b6afeb778f8c4f41c5703c84;p=mv-sheeva.git sh: Provide cpumask_of_pcibus() to fix NUMA build. Signed-off-by: Paul Mundt --- diff --git a/arch/sh/include/asm/topology.h b/arch/sh/include/asm/topology.h index a3f23954589..8489a0905a8 100644 --- a/arch/sh/include/asm/topology.h +++ b/arch/sh/include/asm/topology.h @@ -37,8 +37,11 @@ #define pcibus_to_node(bus) ((void)(bus), -1) #define pcibus_to_cpumask(bus) (pcibus_to_node(bus) == -1 ? \ CPU_MASK_ALL : \ - node_to_cpumask(pcibus_to_node(bus)) \ - ) + node_to_cpumask(pcibus_to_node(bus))) +#define cpumask_of_pcibus(bus) (pcibus_to_node(bus) == -1 ? \ + CPU_MASK_ALL_PTR : \ + cpumask_of_node(pcibus_to_node(bus))) + #endif #include