[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1430232107-15041-1-git-send-email-cmetcalf@ezchip.com>
Date: Tue, 28 Apr 2015 10:41:47 -0400
From: Chris Metcalf <cmetcalf@...hip.com>
To: "Geert Uytterhoeven <geert@...ux-m68k.org> Rusty Russell"
<rusty@...tcorp.com.au>
CC: Chris Metcalf <cmetcalf@...hip.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Rasmus Villemoes <linux@...musvillemoes.dk>,
Linux MIPS Mailing List <linux-mips@...ux-mips.org>,
sparclinux <sparclinux@...r.kernel.org>,
"linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>,
Mark Brown <broonie@...nel.org>,
"DRI Development" <dri-devel@...ts.freedesktop.org>,
Matthew Wilcox <willy@...ux.intel.com>
Subject: [PATCH] tile: properly use node_isset() on a nodemask_t
The code accidentally used cpu_isset() previously in one place
(though properly node_isset() elsewhere).
Signed-off-by: Chris Metcalf <cmetcalf@...hip.com>
---
arch/tile/kernel/setup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/tile/kernel/setup.c b/arch/tile/kernel/setup.c
index 6873f006f7d0..d366675e4bf8 100644
--- a/arch/tile/kernel/setup.c
+++ b/arch/tile/kernel/setup.c
@@ -774,7 +774,7 @@ static void __init zone_sizes_init(void)
* though, there'll be no lowmem, so we just alloc_bootmem
* the memmap. There will be no percpu memory either.
*/
- if (i != 0 && cpumask_test_cpu(i, &isolnodes)) {
+ if (i != 0 && node_isset(i, isolnodes)) {
node_memmap_pfn[i] =
alloc_bootmem_pfn(0, memmap_size, 0);
BUG_ON(node_percpu[i] != 0);
--
2.1.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists