diff options
author | Thomas Bogendoerfer <tbogendoerfer@suse.de> | 2019-10-03 14:27:24 +0200 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-10-07 18:37:59 +0200 |
commit | 4bf841ebf17aaa0f7712623896c699b44fa92f44 (patch) | |
tree | f797ee734d0eb2409905f5024f9a5d0ef75404d0 /arch/mips/pci | |
parent | MIPS: SGI-IP27: remove not used stuff inherited from IRIX (diff) | |
download | linux-4bf841ebf17aaa0f7712623896c699b44fa92f44.tar.xz linux-4bf841ebf17aaa0f7712623896c699b44fa92f44.zip |
MIPS: SGI-IP27: get rid of compact node ids
Node ids don't need to be contiguous in Linux, so the concept to
use compact node ids to make them contiguous isn't needed at all.
This patchset therefore removes it.
Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'arch/mips/pci')
-rw-r--r-- | arch/mips/pci/pci-xtalk-bridge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pci/pci-xtalk-bridge.c b/arch/mips/pci/pci-xtalk-bridge.c index 7b4d40354ee7..4bb5e326305e 100644 --- a/arch/mips/pci/pci-xtalk-bridge.c +++ b/arch/mips/pci/pci-xtalk-bridge.c @@ -285,7 +285,7 @@ static int bridge_set_affinity(struct irq_data *d, const struct cpumask *mask, ret = irq_chip_set_affinity_parent(d, mask, force); if (ret >= 0) { cpu = cpumask_first_and(mask, cpu_online_mask); - nasid = COMPACT_TO_NASID_NODEID(cpu_to_node(cpu)); + nasid = cpu_to_node(cpu); bridge_write(data->bc, b_int_addr[pin].addr, (((data->bc->intr_addr >> 30) & 0x30000) | bit | (nasid << 8))); |