Skip to content

Commit

Permalink
[SPARC64]: Rewrite convoluted physical memory probing.
Browse files Browse the repository at this point in the history
Delete all of the code working with sp_banks[] and replace
with clean acquisition and sorting of physical memory
parameters from the firmware.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Sep 30, 2005
1 parent ed3ffaf commit 13edad7
Show file tree
Hide file tree
Showing 3 changed files with 114 additions and 194 deletions.
2 changes: 1 addition & 1 deletion arch/sparc64/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -1333,7 +1333,7 @@ static int cheetah_check_main_memory(unsigned long paddr)
{
unsigned long vaddr = PAGE_OFFSET + paddr;

if (vaddr > high_memory)
if (vaddr > (unsigned long) high_memory)
return 0;

return kern_addr_valid(vaddr);
Expand Down
Loading

0 comments on commit 13edad7

Please sign in to comment.