*/
 
 #include <linux/config.h>
+#include <linux/module.h>
 
 #include <asm/firmware.h>
 
-unsigned long ppc64_firmware_features;
+unsigned long powerpc_firmware_features;
+EXPORT_SYMBOL_GPL(powerpc_firmware_features);
 
        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;
 }
 
                                continue;
 
                        /* we have a match */
-                       ppc64_firmware_features |=
+                       powerpc_firmware_features |=
                                firmware_features_table[i].val;
                        break;
                }
 
         */
 
        if (platform == PLATFORM_PSERIES_LPAR)
-               ppc64_firmware_features |= FW_FEATURE_LPAR;
+               powerpc_firmware_features |= FW_FEATURE_LPAR;
 
        return 1;
 }
 
 /* This is used to identify firmware features which are available
  * to the kernel.
  */
-extern unsigned long   ppc64_firmware_features;
+extern unsigned long   powerpc_firmware_features;
 
 #define firmware_has_feature(feature)                                  \
        ((FW_FEATURE_ALWAYS & (feature)) ||                             \
-               (FW_FEATURE_POSSIBLE & ppc64_firmware_features & (feature)))
+               (FW_FEATURE_POSSIBLE & powerpc_firmware_features & (feature)))
 
 extern void system_reset_fwnmi(void);
 extern void machine_check_fwnmi(void);