Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com> --- CC: Jan Beulich <jbeul...@suse.com>
v2 - Rebase on top of "x86: generate labels at the beginning of unlikely sub-sections" --- xen/include/asm-x86/asm_defns.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/xen/include/asm-x86/asm_defns.h b/xen/include/asm-x86/asm_defns.h index 7cf4408..b5f79d8 100644 --- a/xen/include/asm-x86/asm_defns.h +++ b/xen/include/asm-x86/asm_defns.h @@ -180,16 +180,16 @@ void ret_from_intr(void); #endif -#define UNLIKELY_START(cond, tag) \ - "j" #cond " .Lunlikely%=.tag;\n\t" \ - UNLIKELY_START_SECTION "\n\t" \ - SUBSECTION_LBL(unlikely) "\n" \ - ".Lunlikely%=.tag:" +#define UNLIKELY_START(cond, tag) \ + "j" #cond " .Lunlikely." #tag ".%=;\n\t" \ + UNLIKELY_START_SECTION "\n\t" \ + SUBSECTION_LBL(unlikely) "\n" \ + ".Lunlikely." #tag ".%=:" #define UNLIKELY_END(tag) \ - "jmp .Llikely%=.tag;\n\t" \ + "jmp .Llikely." #tag ".%=;\n\t" \ UNLIKELY_END_SECTION "\n" \ - ".Llikely%=.tag:" + ".Llikely." #tag ".%=:" #endif -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel