diff options
Diffstat (limited to 'arch/powerpc')
| -rw-r--r-- | arch/powerpc/kernel/firmware.c | 4 | ||||
| -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 |
4 files changed, 7 insertions, 5 deletions
diff --git a/arch/powerpc/kernel/firmware.c b/arch/powerpc/kernel/firmware.c index 4d37a3cb80f6..0bfe9061720a 100644 --- a/arch/powerpc/kernel/firmware.c +++ b/arch/powerpc/kernel/firmware.c | |||
| @@ -14,7 +14,9 @@ | |||
| 14 | */ | 14 | */ |
| 15 | 15 | ||
| 16 | #include <linux/config.h> | 16 | #include <linux/config.h> |
| 17 | #include <linux/module.h> | ||
| 17 | 18 | ||
| 18 | #include <asm/firmware.h> | 19 | #include <asm/firmware.h> |
| 19 | 20 | ||
| 20 | unsigned long ppc64_firmware_features; | 21 | unsigned long powerpc_firmware_features; |
| 22 | EXPORT_SYMBOL_GPL(powerpc_firmware_features); | ||
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 | } |
