From f809b61a0af2a659aef27db8d2bb1bb415b8c5e3 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Tue, 13 Mar 2018 08:14:51 -0600 Subject: [PATCH] x86: fix OLDINSTR_2() Its as_max() invocation was wrongly parenthesized. Signed-off-by: Jan Beulich Reviewed-by: Wei Liu Reviewed-by: Andrew Cooper --- xen/include/asm-x86/alternative.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/include/asm-x86/alternative.h b/xen/include/asm-x86/alternative.h index 480336860a..619472efcb 100644 --- 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 */ \ -- 2.30.2