projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adf8feb
)
x86: fix OLDINSTR_2()
author
Jan Beulich
<JBeulich@suse.com>
Tue, 13 Mar 2018 14:14:51 +0000
(08:14 -0600)
committer
Andrew Cooper
<andrew.cooper3@citrix.com>
Thu, 29 Mar 2018 14:12:21 +0000
(15:12 +0100)
Its as_max() invocation was wrongly parenthesized.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/include/asm-x86/alternative.h
patch
|
blob
|
history
diff --git
a/xen/include/asm-x86/alternative.h
b/xen/include/asm-x86/alternative.h
index 480336860a201247a7539e7ddc005fd173c138d5..619472efcb73cb8e1f361f12deac76631e5e15d7 100644
(file)
--- a/
xen/include/asm-x86/alternative.h
+++ b/
xen/include/asm-x86/alternative.h
@@
-54,8
+54,8
@@
extern void alternative_instructions(void);
#define OLDINSTR_2(oldinstr, n1, n2) \
OLDINSTR(oldinstr, \
- as_max(
(alt_repl_len(n1),
\
-
alt_repl_len(n2)) "-" alt_orig_len)
)
+ as_max(
alt_repl_len(n1),
\
+
alt_repl_len(n2)) "-" alt_orig_len
)
#define ALTINSTR_ENTRY(feature, num) \
" .long .LXEN%=_orig_s - .\n" /* label */ \