Skip to content

Commit

Permalink
[PATCH] powerpc: remove redundant code in stab init
Browse files Browse the repository at this point in the history
There's never been a hardware platform that has both pSeries/RPA LPAR
hypervisor and stab (pre-POWER4 segment management). This removes
the redundant code in stab_initalize().

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Olof Johansson authored and Paul Mackerras committed Dec 5, 2005
1 parent b6d7815 commit ca507ea
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions arch/powerpc/mm/stab.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,11 +288,6 @@ void stab_initialize(unsigned long stab)
return;
}
#endif /* CONFIG_PPC_ISERIES */
#ifdef CONFIG_PPC_PSERIES
if (platform_is_lpar()) {
plpar_hcall_norets(H_SET_ASR, stabreal);
return;
}
#endif

mtspr(SPRN_ASR, stabreal);
}

0 comments on commit ca507ea

Please sign in to comment.