[PATCH] powerpc: Rename and export ppc64_firmware_features
We need to export ppc64_firmware_features for modules. Before we do that I think we should probably rename it to powerpc_firmware_features. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:

committed by
Paul Mackerras

parent
2f25194dbe
commit
d0160bf0b3
@@ -680,8 +680,8 @@ static int __init iseries_probe(int platform)
|
||||
if (PLATFORM_ISERIES_LPAR != platform)
|
||||
return 0;
|
||||
|
||||
ppc64_firmware_features |= FW_FEATURE_ISERIES;
|
||||
ppc64_firmware_features |= FW_FEATURE_LPAR;
|
||||
powerpc_firmware_features |= FW_FEATURE_ISERIES;
|
||||
powerpc_firmware_features |= FW_FEATURE_LPAR;
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
@@ -91,7 +91,7 @@ void __init fw_feature_init(void)
|
||||
continue;
|
||||
|
||||
/* we have a match */
|
||||
ppc64_firmware_features |=
|
||||
powerpc_firmware_features |=
|
||||
firmware_features_table[i].val;
|
||||
break;
|
||||
}
|
||||
|
@@ -385,7 +385,7 @@ static int __init pSeries_probe(int platform)
|
||||
*/
|
||||
|
||||
if (platform == PLATFORM_PSERIES_LPAR)
|
||||
ppc64_firmware_features |= FW_FEATURE_LPAR;
|
||||
powerpc_firmware_features |= FW_FEATURE_LPAR;
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user