diff options
Diffstat (limited to 'include/asm-powerpc/firmware.h')
-rw-r--r-- | include/asm-powerpc/firmware.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/include/asm-powerpc/firmware.h b/include/asm-powerpc/firmware.h index ce3788224ed0..77069df92bf8 100644 --- a/include/asm-powerpc/firmware.h +++ b/include/asm-powerpc/firmware.h | |||
@@ -82,13 +82,11 @@ enum { | |||
82 | /* This is used to identify firmware features which are available | 82 | /* This is used to identify firmware features which are available |
83 | * to the kernel. | 83 | * to the kernel. |
84 | */ | 84 | */ |
85 | extern unsigned long ppc64_firmware_features; | 85 | extern unsigned long powerpc_firmware_features; |
86 | 86 | ||
87 | static inline unsigned long firmware_has_feature(unsigned long feature) | 87 | #define firmware_has_feature(feature) \ |
88 | { | 88 | ((FW_FEATURE_ALWAYS & (feature)) || \ |
89 | return (FW_FEATURE_ALWAYS & feature) || | 89 | (FW_FEATURE_POSSIBLE & powerpc_firmware_features & (feature))) |
90 | (FW_FEATURE_POSSIBLE & ppc64_firmware_features & feature); | ||
91 | } | ||
92 | 90 | ||
93 | extern void system_reset_fwnmi(void); | 91 | extern void system_reset_fwnmi(void); |
94 | extern void machine_check_fwnmi(void); | 92 | extern void machine_check_fwnmi(void); |