diff options
author | Simon Glass <sjg@chromium.org> | 2017-01-16 07:04:05 -0700 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2017-02-06 11:38:46 +0800 |
commit | 4b57414a628c9fb1a4ad2cf109943991569a72ce (patch) | |
tree | 2e0d0115692fad23d94d559325cd6cbc025ee0b5 /arch | |
parent | 909780506773a9b09ae88cb267dbfa6a8d0caa7b (diff) | |
download | u-boot-4b57414a628c9fb1a4ad2cf109943991569a72ce.zip u-boot-4b57414a628c9fb1a4ad2cf109943991569a72ce.tar.gz u-boot-4b57414a628c9fb1a4ad2cf109943991569a72ce.tar.bz2 |
x86: Drop flag_is_changable() on x86_64
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/include/asm/cpu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/include/asm/cpu.h b/arch/x86/include/asm/cpu.h index 540024a..b408515 100644 --- 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) { |