Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14221
b: refs/heads/master
c: ffd10a2
h: refs/heads/master
i:
  14219: e28ccf5
v: v3
  • Loading branch information
Magnus Damm authored and Linus Torvalds committed Nov 15, 2005
1 parent 764fec7 commit c3f5e81
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e583538f077d5f70191670b47a046ba436ec3428
refs/heads/master: ffd10a2b77bca50dd05ba26acd5a6e68bcc8f61f
1 change: 1 addition & 0 deletions trunk/arch/x86_64/mm/k8topology.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ int __init k8_scan_nodes(unsigned long start, unsigned long end)
limit >>= 16;
limit <<= 24;
limit |= (1<<24)-1;
limit++;

if (limit > end_pfn << PAGE_SHIFT)
limit = end_pfn << PAGE_SHIFT;
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/x86_64/mm/numa.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,6 @@ static int numa_emulation(unsigned long start_pfn, unsigned long end_pfn)
if (i == numa_fake-1)
sz = (end_pfn<<PAGE_SHIFT) - nodes[i].start;
nodes[i].end = nodes[i].start + sz;
if (i != numa_fake-1)
nodes[i].end--;
printk(KERN_INFO "Faking node %d at %016Lx-%016Lx (%LuMB)\n",
i,
nodes[i].start, nodes[i].end,
Expand Down
4 changes: 0 additions & 4 deletions trunk/arch/x86_64/mm/srat.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ static __init void cutoff_node(int i, unsigned long start, unsigned long end)
nd->start = nd->end;
}
if (nd->end > end) {
if (!(end & 0xfff))
end--;
nd->end = end;
if (nd->start > nd->end)
nd->start = nd->end;
Expand Down Expand Up @@ -166,8 +164,6 @@ acpi_numa_memory_affinity_init(struct acpi_table_memory_affinity *ma)
if (nd->end < end)
nd->end = end;
}
if (!(nd->end & 0xfff))
nd->end--;
printk(KERN_INFO "SRAT: Node %u PXM %u %Lx-%Lx\n", node, pxm,
nd->start, nd->end);
}
Expand Down

0 comments on commit c3f5e81

Please sign in to comment.