Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b06babac authored by Andi Kleen's avatar Andi Kleen Committed by Andi Kleen
Browse files

[PATCH] Add proper alignment to ENTRY



Previously it didn't align. Use the same one as the C compiler
in blended mode, which is good for K8 and Core2 and doesn't hurt
on P4.

Signed-off-by: default avatarAndi Kleen <ak@suse.de>
parent 1a015b56
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -617,8 +617,7 @@ retint_signal:
#ifdef CONFIG_PREEMPT
	/* Returning to kernel space. Check if we need preemption */
	/* rcx:	 threadinfo. interrupts off. */
	.p2align
retint_kernel:	
ENTRY(retint_kernel)
	cmpl $0,threadinfo_preempt_count(%rcx)
	jnz  retint_restore_args
	bt  $TIF_NEED_RESCHED,threadinfo_flags(%rcx)
+1 −1
Original line number Diff line number Diff line
#ifndef __ASM_LINKAGE_H
#define __ASM_LINKAGE_H

/* Nothing to see here... */
#define __ALIGN .p2align 4,,15

#endif