Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e405ae76 authored by Sam Ravnborg's avatar Sam Ravnborg Committed by David S. Miller
Browse files

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: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2fe74fa9
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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();