提交 ca507eaf 编写于 作者: O Olof Johansson 提交者: Paul Mackerras

[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: NOlof Johansson <olof@lixom.net>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 b6d78157
...@@ -288,11 +288,6 @@ void stab_initialize(unsigned long stab) ...@@ -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);
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册