[PATCH] powerpc: Replace platform_is_lpar() with a firmware feature
[linux-2.6.git] / arch / powerpc / platforms / pseries / iommu.c
index 57930e23cc7460d9125063df55a56d9f32d685eb..2643078433f0123f8997c7f98823934e7b1feadb 100644 (file)
@@ -580,7 +580,7 @@ void iommu_init_early_pSeries(void)
                return;
        }
 
-       if (platform_is_lpar()) {
+       if (firmware_has_feature(FW_FEATURE_LPAR)) {
                if (firmware_has_feature(FW_FEATURE_MULTITCE)) {
                        ppc_md.tce_build = tce_buildmulti_pSeriesLP;
                        ppc_md.tce_free  = tce_freemulti_pSeriesLP;