mirror of
https://github.com/adulau/aha.git
synced 2025-01-01 13:46:24 +00:00
[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>
This commit is contained in:
parent
b6d78157ad
commit
ca507eaf32
1 changed files with 1 additions and 6 deletions
|
@ -288,11 +288,6 @@ void stab_initialize(unsigned long stab)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_PPC_ISERIES */
|
#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);
|
mtspr(SPRN_ASR, stabreal);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue