From b9625106d0f60cfc4e6d65fafcdcd193462e1940 Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Tue, 7 Apr 2009 17:11:15 -0700 Subject: [PATCH] --- yaml --- r: 143265 b: refs/heads/master c: b35346fd25f3c8c0b6afeb778f8c4f41c5703c84 h: refs/heads/master i: 143263: 91806c1189cacf8587b03366b21b07177d265e47 v: v3 --- [refs] | 2 +- trunk/arch/sh/include/asm/topology.h | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 144c96e1cb7f..38c88569ffba 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6e9793812583e3c9e3674c8c8af1b114afae8673 +refs/heads/master: b35346fd25f3c8c0b6afeb778f8c4f41c5703c84 diff --git a/trunk/arch/sh/include/asm/topology.h b/trunk/arch/sh/include/asm/topology.h index a3f239545897..8489a0905a87 100644 --- a/trunk/arch/sh/include/asm/topology.h +++ b/trunk/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