summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2011-01-04 11:39:11 +0000
committerDavid S. Miller <davem@davemloft.net>2011-01-04 19:25:03 -0800
commite405ae76af19cd2c85335b842f880a2bc98ba785 (patch)
tree8e90bb182785080e9697b13ccf4ee6d7655b00de /arch/sparc/kernel
parent2fe74fa9662f8df51e6ef18227089f54cc07e16a (diff)
downloadop-kernel-dev-e405ae76af19cd2c85335b842f880a2bc98ba785.zip
op-kernel-dev-e405ae76af19cd2c85335b842f880a2bc98ba785.tar.gz
sparc: use trapbase in setup_arch
start and trapbase point to the same address. But using start to assing to sparc_ttable looked confusing. Replace this with the use of trapbase. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel')
-rw-r--r--arch/sparc/kernel/setup_32.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sparc/kernel/setup_32.c b/arch/sparc/kernel/setup_32.c
index b22ce61..648f216 100644
--- a/arch/sparc/kernel/setup_32.c
+++ b/arch/sparc/kernel/setup_32.c
@@ -185,7 +185,6 @@ static void __init boot_flags_init(char *commands)
extern void sun4c_probe_vac(void);
extern char cputypval;
-extern unsigned long start, end;
extern unsigned short root_flags;
extern unsigned short root_dev;
@@ -210,7 +209,7 @@ void __init setup_arch(char **cmdline_p)
int i;
unsigned long highest_paddr;
- sparc_ttable = (struct tt_entry *) &start;
+ sparc_ttable = (struct tt_entry *) &trapbase;
/* Initialize PROM console and command line. */
*cmdline_p = prom_getbootargs();
OpenPOWER on IntegriCloud