Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186493
b: refs/heads/master
c: 09e1172
h: refs/heads/master
i:
  186491: 37dd864
v: v3
  • Loading branch information
Paul Mundt committed Mar 3, 2010
1 parent bb8c6e3 commit 8be335c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 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: a1042aa248e4ea7f39d5ce13f080cbf3b6c42618
refs/heads/master: 09e1172317d1038918c5a139ba31155610f802b5
3 changes: 1 addition & 2 deletions trunk/arch/sh/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ void __init setup_arch(char **cmdline_p)

nodes_clear(node_online_map);

/* Setup bootmem with available RAM */
pmb_init();
lmb_init();
setup_memory();
sparse_init();
Expand All @@ -452,7 +452,6 @@ void __init setup_arch(char **cmdline_p)
conswitchp = &dummy_con;
#endif
paging_init();
pmb_init();

ioremap_fixed_init();

Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/sh/mm/numa.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ void __init setup_bootmem_node(int nid, unsigned long start, unsigned long end)
start_pfn = start >> PAGE_SHIFT;
end_pfn = end >> PAGE_SHIFT;

pmb_bolt_mapping((unsigned long)__va(start), start, end - start,
PAGE_KERNEL);

lmb_add(start, end - start);

__add_active_range(nid, start_pfn, end_pfn);
Expand Down

0 comments on commit 8be335c

Please sign in to comment.