Skip to contentSkip to conversation

x86: remove stray ALIGN directives

PATCH New Jan Beulich 1 participant 1 message Jul 1, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: remove stray ALIGN directives

ENTRY() already includes an ALIGN.

xen/arch/x86/x86_32/entry.S +0 -2
@@ -138,7 +138,6 @@ restore_all_xen:
         addl $4,%esp
         iret
 
-        ALIGN
 ENTRY(hypercall)
         subl $4,%esp
         FIXUP_RING0_GUEST_STACK
@@ -429,7 +428,6 @@ domain_crash_synchronous:
         call  printk
         jmp   __domain_crash_synchronous
 
-        ALIGN
 ENTRY(ret_from_intr)
         GET_CURRENT(%ebx)
         movl  UREGS_eflags(%esp),%eax
xen/arch/x86/x86_64/compat/entry.S +0 -1
@@ -12,7 +12,6 @@
 #include <public/xen.h>
 #include <irq_vectors.h>
 
-        ALIGN
 ENTRY(compat_hypercall)
         pushq $0
         movl  $TRAP_syscall,4(%rsp)
xen/arch/x86/x86_64/entry.S +0 -2
@@ -110,7 +110,6 @@ restore_all_xen:
  * the stack, starting with %rip, and an appropriate %ss must be saved into
  * the space left by the trampoline.
  */
-        ALIGN
 ENTRY(syscall_enter)
         sti
         movl  $FLAT_KERNEL_SS,24(%rsp)
@@ -463,7 +462,6 @@ ENTRY(domain_crash_synchronous)
         call  printk
         jmp  __domain_crash_synchronous
 
-        ALIGN
 /* No special register assumptions. */
 ENTRY(ret_from_intr)
         GET_CURRENT(%rbx)

ENTRY() already includes an ALIGN.

xen/arch/x86/x86_32/entry.S +0 -2
@@ -138,7 +138,6 @@ restore_all_xen:
         addl $4,%esp
         iret
 
-        ALIGN
 ENTRY(hypercall)
         subl $4,%esp
         FIXUP_RING0_GUEST_STACK
@@ -429,7 +428,6 @@ domain_crash_synchronous:
         call  printk
         jmp   __domain_crash_synchronous
 
-        ALIGN
 ENTRY(ret_from_intr)
         GET_CURRENT(%ebx)
         movl  UREGS_eflags(%esp),%eax
xen/arch/x86/x86_64/compat/entry.S +0 -1
@@ -12,7 +12,6 @@
 #include <public/xen.h>
 #include <irq_vectors.h>
 
-        ALIGN
 ENTRY(compat_hypercall)
         pushq $0
         movl  $TRAP_syscall,4(%rsp)
xen/arch/x86/x86_64/entry.S +0 -2
@@ -110,7 +110,6 @@ restore_all_xen:
  * the stack, starting with %rip, and an appropriate %ss must be saved into
  * the space left by the trampoline.
  */
-        ALIGN
 ENTRY(syscall_enter)
         sti
         movl  $FLAT_KERNEL_SS,24(%rsp)
@@ -463,7 +462,6 @@ ENTRY(domain_crash_synchronous)
         call  printk
         jmp  __domain_crash_synchronous
 
-        ALIGN
 /* No special register assumptions. */
 ENTRY(ret_from_intr)
         GET_CURRENT(%rbx)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel