Skip to content

Commit

Permalink
sparc,leon: init_leon srmmu cleanup
Browse files Browse the repository at this point in the history
Removed unused assignment and capitalized srmmu name for sparc_leon

Signed-off-by: Kristoffer Glembo <kristoffer@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Kristoffer Glembo authored and David S. Miller committed Dec 3, 2009
1 parent fdd98ac commit c803ba9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions arch/sparc/mm/srmmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1990,7 +1990,7 @@ void __init poke_leonsparc(void)
void __init init_leon(void)
{

srmmu_name = "Leon";
srmmu_name = "LEON";

BTFIXUPSET_CALL(flush_cache_all, leon_flush_cache_all,
BTFIXUPCALL_NORM);
Expand Down Expand Up @@ -2037,8 +2037,6 @@ static void __init get_srmmu_type(void)

/* First, check for sparc-leon. */
if (sparc_cpu_model == sparc_leon) {
psr_typ = 0xf; /* hardcoded ids for older models/simulators */
psr_vers = 2;
init_leon();
return;
}
Expand Down

0 comments on commit c803ba9

Please sign in to comment.