projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9097805
)
x86: Drop flag_is_changable() on x86_64
author
Simon Glass
<sjg@chromium.org>
Mon, 16 Jan 2017 14:04:05 +0000
(07:04 -0700)
committer
Bin Meng
<bmeng.cn@gmail.com>
Mon, 6 Feb 2017 03:38:46 +0000
(11:38 +0800)
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@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/cpu.h
patch
|
blob
|
history
diff --git
a/arch/x86/include/asm/cpu.h
b/arch/x86/include/asm/cpu.h
index 540024a85920ff5a9a0813cc4ab964e371855caa..b408515582c1637a71f8d3ef5dbb5bea69be5fb6 100644
(file)
--- a/
arch/x86/include/asm/cpu.h
+++ b/
arch/x86/include/asm/cpu.h
@@
-159,6
+159,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)
{
@@
-179,6
+181,7
@@
static inline int flag_is_changeable_p(uint32_t flag)
: "ir" (flag));
return ((f1^f2) & flag) != 0;
}
+#endif
static inline void mfence(void)
{