projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
718780d
)
target/i386: Delete duplicated macro definition CR4_FRED_MASK
author
Xin Li (Intel)
<xin@zytor.com>
Wed, 7 Aug 2024 08:18:10 +0000
(
01:18
-0700)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Wed, 2 Oct 2024 10:58:46 +0000
(12:58 +0200)
Macro CR4_FRED_MASK is defined twice, delete one.
Signed-off-by: Xin Li (Intel) <xin@zytor.com>
Link:
https://lore.kernel.org/r/20240807081813.735158-2-xin@zytor.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/cpu.h
patch
|
blob
|
history
diff --git
a/target/i386/cpu.h
b/target/i386/cpu.h
index 14edd57a37ba7c7895bc1a2c89429489ee9a925d..2bf37dd15e03c874b724f454e96a86d9372ba4e7 100644
(file)
--- a/
target/i386/cpu.h
+++ b/
target/i386/cpu.h
@@
-267,12
+267,6
@@
typedef enum X86Seg {
#define CR4_FRED_MASK 0
#endif
-#ifdef TARGET_X86_64
-#define CR4_FRED_MASK (1ULL << 32)
-#else
-#define CR4_FRED_MASK 0
-#endif
-
#define CR4_RESERVED_MASK \
(~(target_ulong)(CR4_VME_MASK | CR4_PVI_MASK | CR4_TSD_MASK \
| CR4_DE_MASK | CR4_PSE_MASK | CR4_PAE_MASK \