]> err.no Git - linux-2.6/commitdiff
[POWERPC] iSeries: set FW_FEATURE_ISERIES earlier
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 25 Sep 2006 03:27:17 +0000 (13:27 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 25 Sep 2006 03:27:17 +0000 (13:27 +1000)
This will help in the combined kernel as some really early things depend
on being able to check this.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
arch/powerpc/platforms/iseries/setup.c

index 7f1953066ff8f7ae2f26d35a1511feeac24b1012..7cb6b5f7c593f462d89f9e1960da92e5bf602f5f 100644 (file)
@@ -655,9 +655,6 @@ static int __init iseries_probe(void)
        if (!of_flat_dt_is_compatible(root, "IBM,iSeries"))
                return 0;
 
-       powerpc_firmware_features |= FW_FEATURE_ISERIES;
-       powerpc_firmware_features |= FW_FEATURE_LPAR;
-
        hpte_init_iSeries();
 
        return 1;
@@ -687,6 +684,9 @@ void * __init iSeries_early_setup(void)
 {
        unsigned long phys_mem_size;
 
+       powerpc_firmware_features |= FW_FEATURE_ISERIES;
+       powerpc_firmware_features |= FW_FEATURE_LPAR;
+
        iSeries_fixup_klimit();
 
        /*