提交 ef26a46f 编写于 作者: S Stephen Rothwell

[POWERPC] iSeries: set FW_FEATURE_ISERIES earlier

This will help in the combined kernel as some really early things depend
on being able to check this.
Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
上级 e6e5fee1
...@@ -655,9 +655,6 @@ static int __init iseries_probe(void) ...@@ -655,9 +655,6 @@ static int __init iseries_probe(void)
if (!of_flat_dt_is_compatible(root, "IBM,iSeries")) if (!of_flat_dt_is_compatible(root, "IBM,iSeries"))
return 0; return 0;
powerpc_firmware_features |= FW_FEATURE_ISERIES;
powerpc_firmware_features |= FW_FEATURE_LPAR;
hpte_init_iSeries(); hpte_init_iSeries();
return 1; return 1;
...@@ -687,6 +684,9 @@ void * __init iSeries_early_setup(void) ...@@ -687,6 +684,9 @@ void * __init iSeries_early_setup(void)
{ {
unsigned long phys_mem_size; unsigned long phys_mem_size;
powerpc_firmware_features |= FW_FEATURE_ISERIES;
powerpc_firmware_features |= FW_FEATURE_LPAR;
iSeries_fixup_klimit(); iSeries_fixup_klimit();
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册