projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1df23a5
)
x86/msr: Fix XEN_MSR_PAT to build with older binutils
author
Andrew Cooper
<andrew.cooper3@citrix.com>
Thu, 30 Apr 2020 08:34:56 +0000
(10:34 +0200)
committer
Jan Beulich
<jbeulich@suse.com>
Thu, 30 Apr 2020 08:34:56 +0000
(10:34 +0200)
Older binutils complains with:
trampoline.S:95: Error: junk `ul&0xffffffff' after expression
Use an assembly-safe constant.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/include/asm-x86/processor.h
patch
|
blob
|
history
diff --git
a/xen/include/asm-x86/processor.h
b/xen/include/asm-x86/processor.h
index ea6e5497f4ff39b9ed64e09ae63a0822eb9f7508..8f6f5a97dd7640ca862a6853d00a5218da172f00 100644
(file)
--- a/
xen/include/asm-x86/processor.h
+++ b/
xen/include/asm-x86/processor.h
@@
-99,7
+99,7
@@
* Host IA32_CR_PAT value to cover all memory types. This is not the default
* MSR_PAT value, and is an ABI with PV guests.
*/
-#define XEN_MSR_PAT
0x050100070406ul
+#define XEN_MSR_PAT
_AC(0x050100070406, ULL)
#ifndef __ASSEMBLY__