[U-Boot] [PATCH 59/82] x86: Drop flag_is_changable() on x86_64
Simon Glass
sjg at chromium.org
Mon Sep 26 05:34:02 CEST 2016
This doesn't build at present and is not used in a 64-bit build. Disable it
for now.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
arch/x86/include/asm/cpu.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/x86/include/asm/cpu.h b/arch/x86/include/asm/cpu.h
index 7892757..9a8ae2a 100644
--- a/arch/x86/include/asm/cpu.h
+++ b/arch/x86/include/asm/cpu.h
@@ -160,6 +160,8 @@ static inline unsigned int cpuid_edx(unsigned int op)
return edx;
}
+#if !CONFIG_IS_ENABLED(X86_64)
+
/* Standard macro to see if a specific flag is changeable */
static inline int flag_is_changeable_p(uint32_t flag)
{
@@ -180,6 +182,7 @@ static inline int flag_is_changeable_p(uint32_t flag)
: "ir" (flag));
return ((f1^f2) & flag) != 0;
}
+#endif
static inline void mfence(void)
{
--
2.8.0.rc3.226.g39d4020
More information about the U-Boot
mailing list