diff options
author | Olof Johansson <olof@lixom.net> | 2005-11-29 21:04:17 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-12-05 05:41:35 +0100 |
commit | ca507eaf32fa599a92182ce91050046e807a994c (patch) | |
tree | 2402d87614e2cb19d67ffc208a27bc2eec13dde5 /arch | |
parent | ppc: Build in all three of powermac, PREP and CHRP support (diff) | |
download | linux-ca507eaf32fa599a92182ce91050046e807a994c.tar.xz linux-ca507eaf32fa599a92182ce91050046e807a994c.zip |
[PATCH] powerpc: remove redundant code in stab init
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/mm/stab.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/powerpc/mm/stab.c b/arch/powerpc/mm/stab.c index cfbb4e1f966b..51e7951414e5 100644 --- a/arch/powerpc/mm/stab.c +++ b/arch/powerpc/mm/stab.c @@ -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); } |