]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
arch: drop ALIGN_STR
authorJan Beulich <jbeulich@suse.com>
Thu, 23 Mar 2017 14:53:02 +0000 (15:53 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 23 Mar 2017 14:53:02 +0000 (15:53 +0100)
... as being unused and having been unusable: It was clearly intended
for use in asm(), yet was placed inside __ASSEMBLY__ conditionals.

Also drop __ALIGN{,_STR} - there's no need to have a second flavor of
these constructs with no difference in behavior.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Julien Grall <julien.grall@arm.com>
xen/include/asm-arm/config.h
xen/include/asm-x86/config.h

index 6a92f53f72f056ae5236064553a0384ecaac9c1f..b2edf95f72fe00d19888009b1190af056250c0e6 100644 (file)
 #define CONFIG_AEABI
 
 /* Linkage for ARM */
-#define __ALIGN .align 2
-#define __ALIGN_STR ".align 2"
 #ifdef __ASSEMBLY__
-#define ALIGN __ALIGN
-#define ALIGN_STR __ALIGN_STR
+#define ALIGN .align 2
 #define ENTRY(name)                             \
   .globl name;                                  \
   ALIGN;                                        \
index b9a6d94d60d107d6df9f988a90f5bc32a67df8b8..8ed69b64b22f305c08c1368e40724c9d98607c7b 100644 (file)
 #define OPT_CONSOLE_STR "vga"
 
 /* Linkage for x86 */
-#define __ALIGN .align 16,0x90
-#define __ALIGN_STR ".align 16,0x90"
 #ifdef __ASSEMBLY__
-#define ALIGN __ALIGN
-#define ALIGN_STR __ALIGN_STR
+#define ALIGN .align 16,0x90
 #define ENTRY(name)                             \
   .globl name;                                  \
   ALIGN;                                        \