Merge branch 'x86/cpu' into x86/core
[firefly-linux-kernel-4.4.55.git] / include / asm-x86 / bugs.h
index 4761c461d23a62a4ba44e015c106bd5d5bdbd02c..ae514c76a96fd09a9c3b65d6b9176c128e1428f2 100644 (file)
@@ -2,6 +2,11 @@
 #define ASM_X86__BUGS_H
 
 extern void check_bugs(void);
+
+#ifdef CONFIG_CPU_SUP_INTEL_32
 int ppro_with_ram_bug(void);
+#else
+static inline int ppro_with_ram_bug(void) { return 0; }
+#endif
 
 #endif /* ASM_X86__BUGS_H */