提交 b06babac 编写于 作者: A Andi Kleen 提交者: Andi Kleen

[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: NAndi Kleen <ak@suse.de>
上级 1a015b56
...@@ -617,8 +617,7 @@ retint_signal: ...@@ -617,8 +617,7 @@ retint_signal:
#ifdef CONFIG_PREEMPT #ifdef CONFIG_PREEMPT
/* Returning to kernel space. Check if we need preemption */ /* Returning to kernel space. Check if we need preemption */
/* rcx: threadinfo. interrupts off. */ /* rcx: threadinfo. interrupts off. */
.p2align ENTRY(retint_kernel)
retint_kernel:
cmpl $0,threadinfo_preempt_count(%rcx) cmpl $0,threadinfo_preempt_count(%rcx)
jnz retint_restore_args jnz retint_restore_args
bt $TIF_NEED_RESCHED,threadinfo_flags(%rcx) bt $TIF_NEED_RESCHED,threadinfo_flags(%rcx)
......
#ifndef __ASM_LINKAGE_H #ifndef __ASM_LINKAGE_H
#define __ASM_LINKAGE_H #define __ASM_LINKAGE_H
/* Nothing to see here... */ #define __ALIGN .p2align 4,,15
#endif #endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册