diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2006-03-26 22:26:25 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-03-28 00:45:20 -0500 |
commit | d0160bf0b3e87032be8e85f80ddd2f18e107b86f (patch) | |
tree | ad29de605288def9799b1cde52e1c5ddf03b4ee6 /arch/powerpc/platforms | |
parent | 2f25194dbe0c4b2472ce133ea3e9bcbb14936ae7 (diff) |
[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>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r-- | arch/powerpc/platforms/iseries/setup.c | 4 | ||||
-rw-r--r-- | arch/powerpc/platforms/pseries/firmware.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/pseries/setup.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/iseries/setup.c b/arch/powerpc/platforms/iseries/setup.c index fa4550611c11..155aa690e4bb 100644 --- a/arch/powerpc/platforms/iseries/setup.c +++ b/arch/powerpc/platforms/iseries/setup.c | |||
@@ -680,8 +680,8 @@ static int __init iseries_probe(int platform) | |||
680 | if (PLATFORM_ISERIES_LPAR != platform) | 680 | if (PLATFORM_ISERIES_LPAR != platform) |
681 | return 0; | 681 | return 0; |
682 | 682 | ||
683 | ppc64_firmware_features |= FW_FEATURE_ISERIES; | 683 | powerpc_firmware_features |= FW_FEATURE_ISERIES; |
684 | ppc64_firmware_features |= FW_FEATURE_LPAR; | 684 | powerpc_firmware_features |= FW_FEATURE_LPAR; |
685 | 685 | ||
686 | return 1; | 686 | return 1; |
687 | } | 687 | } |
diff --git a/arch/powerpc/platforms/pseries/firmware.c b/arch/powerpc/platforms/pseries/firmware.c index 989f4bc136cb..c01d8f0cbe6d 100644 --- a/arch/powerpc/platforms/pseries/firmware.c +++ b/arch/powerpc/platforms/pseries/firmware.c | |||
@@ -91,7 +91,7 @@ void __init fw_feature_init(void) | |||
91 | continue; | 91 | continue; |
92 | 92 | ||
93 | /* we have a match */ | 93 | /* we have a match */ |
94 | ppc64_firmware_features |= | 94 | powerpc_firmware_features |= |
95 | firmware_features_table[i].val; | 95 | firmware_features_table[i].val; |
96 | break; | 96 | break; |
97 | } | 97 | } |
diff --git a/arch/powerpc/platforms/pseries/setup.c b/arch/powerpc/platforms/pseries/setup.c index 213bf983242f..f736234db9b2 100644 --- a/arch/powerpc/platforms/pseries/setup.c +++ b/arch/powerpc/platforms/pseries/setup.c | |||
@@ -385,7 +385,7 @@ static int __init pSeries_probe(int platform) | |||
385 | */ | 385 | */ |
386 | 386 | ||
387 | if (platform == PLATFORM_PSERIES_LPAR) | 387 | if (platform == PLATFORM_PSERIES_LPAR) |
388 | ppc64_firmware_features |= FW_FEATURE_LPAR; | 388 | powerpc_firmware_features |= FW_FEATURE_LPAR; |
389 | 389 | ||
390 | return 1; | 390 | return 1; |
391 | } | 391 | } |