[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v2] xen/x86: Use tag in C UNLIKELY blocks, rather than a literal ".tag"
Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> --- CC: Jan Beulich <JBeulich@xxxxxxxx> 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@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |