mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
arch: drop ALIGN_STR
... 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>
This commit is contained in:
1 parent
9c4555801f
commit
c2e13371ac
2 files changed
+2
-8
No files matched your search
@@ -54,11 +54,8 @@
|
||||
#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; \
|
||||
|
||||
@@ -50,11 +50,8 @@
|
||||
#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; \
|
||||
|
||||