OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b787f68
)
tile: properly use node_isset() on a nodemask_t
author
Chris Metcalf
<cmetcalf@ezchip.com>
Tue, 28 Apr 2015 14:36:45 +0000
(10:36 -0400)
committer
Chris Metcalf
<cmetcalf@ezchip.com>
Tue, 28 Apr 2015 14:36:45 +0000
(10:36 -0400)
The code accidentally used cpu_isset() previously in one place
(though properly node_isset() elsewhere).
Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
arch/tile/kernel/setup.c
patch
|
blob
|
history
diff --git
a/arch/tile/kernel/setup.c
b/arch/tile/kernel/setup.c
index
6873f00
..
d366675
100644
(file)
--- 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);