diff options
-rw-r--r-- | arch/x86_64/kernel/entry.S | 3 | ||||
-rw-r--r-- | include/asm-x86_64/linkage.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86_64/kernel/entry.S b/arch/x86_64/kernel/entry.S index 7eb1678e098d..2dc5c01f754d 100644 --- a/arch/x86_64/kernel/entry.S +++ b/arch/x86_64/kernel/entry.S | |||
@@ -617,8 +617,7 @@ retint_signal: | |||
617 | #ifdef CONFIG_PREEMPT | 617 | #ifdef CONFIG_PREEMPT |
618 | /* Returning to kernel space. Check if we need preemption */ | 618 | /* Returning to kernel space. Check if we need preemption */ |
619 | /* rcx: threadinfo. interrupts off. */ | 619 | /* rcx: threadinfo. interrupts off. */ |
620 | .p2align | 620 | ENTRY(retint_kernel) |
621 | retint_kernel: | ||
622 | cmpl $0,threadinfo_preempt_count(%rcx) | 621 | cmpl $0,threadinfo_preempt_count(%rcx) |
623 | jnz retint_restore_args | 622 | jnz retint_restore_args |
624 | bt $TIF_NEED_RESCHED,threadinfo_flags(%rcx) | 623 | bt $TIF_NEED_RESCHED,threadinfo_flags(%rcx) |
diff --git a/include/asm-x86_64/linkage.h b/include/asm-x86_64/linkage.h index 291c2d01c44f..b5f39d0189ce 100644 --- a/include/asm-x86_64/linkage.h +++ b/include/asm-x86_64/linkage.h | |||
@@ -1,6 +1,6 @@ | |||
1 | #ifndef __ASM_LINKAGE_H | 1 | #ifndef __ASM_LINKAGE_H |
2 | #define __ASM_LINKAGE_H | 2 | #define __ASM_LINKAGE_H |
3 | 3 | ||
4 | /* Nothing to see here... */ | 4 | #define __ALIGN .p2align 4,,15 |
5 | 5 | ||
6 | #endif | 6 | #endif |