Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41374
b: refs/heads/master
c: f5bffe3
h: refs/heads/master
v: v3
  • Loading branch information
Franck Bui-Huu authored and Ralf Baechle committed Nov 30, 2006
1 parent 2e8cb13 commit d63819c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 8431fd094d625b94d364fe393076ccef88e6ce18
refs/heads/master: f5bffe3a9bcd6e5319b5fd3a8109625f8638425a
10 changes: 5 additions & 5 deletions trunk/arch/mips/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ static void __init bootmem_init(void)
* of usable memory.
*/
reserved_end = init_initrd();
reserved_end = PFN_UP(__pa(max(reserved_end, (unsigned long)&_end)));
reserved_end = PFN_UP(max(__pa(reserved_end), __pa_symbol(&_end)));

/*
* Find the highest page frame number we have available.
Expand Down Expand Up @@ -432,10 +432,10 @@ static void __init resource_init(void)
if (UNCAC_BASE != IO_BASE)
return;

code_resource.start = virt_to_phys(&_text);
code_resource.end = virt_to_phys(&_etext) - 1;
data_resource.start = virt_to_phys(&_etext);
data_resource.end = virt_to_phys(&_edata) - 1;
code_resource.start = __pa_symbol(&_text);
code_resource.end = __pa_symbol(&_etext) - 1;
data_resource.start = __pa_symbol(&_etext);
data_resource.end = __pa_symbol(&_edata) - 1;

/*
* Request address space for all standard RAM.
Expand Down

0 comments on commit d63819c

Please sign in to comment.