Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9369
b: refs/heads/master
c: 1c9ea5d
h: refs/heads/master
i:
  9367: 3788edf
v: v3
  • Loading branch information
David S. Miller committed Sep 23, 2005
1 parent 177692f commit 4c7fb4a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 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: a8201c61065f3b5a4fe2fde1db1c817e288916be
refs/heads/master: 1c9ea5db001142a96fec8fed0f92f26892a1b6ac
7 changes: 0 additions & 7 deletions trunk/arch/sparc64/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,6 @@ extern void paging_init(void);

void __init setup_arch(char **cmdline_p)
{
unsigned long highest_paddr;
int i;

/* Initialize PROM console and command line. */
Expand All @@ -519,20 +518,14 @@ void __init setup_arch(char **cmdline_p)
idprom_init();
(void) prom_probe_memory();

/* In paging_init() we tip off this value to see if we need
* to change init_mm.pgd to point to the real alias mapping.
*/
phys_base = 0xffffffffffffffffUL;
highest_paddr = 0UL;
for (i = 0; sp_banks[i].num_bytes != 0; i++) {
unsigned long top;

if (sp_banks[i].base_addr < phys_base)
phys_base = sp_banks[i].base_addr;
top = sp_banks[i].base_addr +
sp_banks[i].num_bytes;
if (highest_paddr < top)
highest_paddr = top;
}
pfn_base = phys_base >> PAGE_SHIFT;

Expand Down

0 comments on commit 4c7fb4a

Please sign in to comment.