summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/setup.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2005-09-23 20:54:43 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2005-09-23 20:54:43 +0200
commit1c9ea5db001142a96fec8fed0f92f26892a1b6ac (patch)
treed2cf2ed167a61d07fe95f9becac7e877f58ce830 /arch/sparc64/kernel/setup.c
parent[SPARC64]: Fix comment typo in head.S (diff)
downloadlinux-1c9ea5db001142a96fec8fed0f92f26892a1b6ac.tar.xz
linux-1c9ea5db001142a96fec8fed0f92f26892a1b6ac.zip
[SPARC64]: Kill unused variable in setup_arch()
'highest_paddr' is set, but never actually used. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/setup.c')
-rw-r--r--arch/sparc64/kernel/setup.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/sparc64/kernel/setup.c b/arch/sparc64/kernel/setup.c
index 0296cb00fc99..f4345d837284 100644
--- a/arch/sparc64/kernel/setup.c
+++ b/arch/sparc64/kernel/setup.c
@@ -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. */
@@ -519,11 +518,7 @@ 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;
@@ -531,8 +526,6 @@ void __init setup_arch(char **cmdline_p)
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;