entry_64.S (fd501d4f0399700011acde486576c7c1eb8e7a61) entry_64.S (f0178fc01fe46bab6a95415f5647d1a74efcad1b)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * linux/arch/x86_64/entry.S
4 *
5 * Copyright (C) 1991, 1992 Linus Torvalds
6 * Copyright (C) 2000, 2001, 2002 Andi Kleen SuSE Labs
7 * Copyright (C) 2000 Pavel Machek <pavel@suse.cz>
8 *

--- 464 unchanged lines hidden (view full) ---

473 jmp paranoid_exit
474
475_ASM_NOKPROBE(\asmsym)
476SYM_CODE_END(\asmsym)
477.endm
478
479/*
480 * Include the defines which emit the idt entries which are shared
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * linux/arch/x86_64/entry.S
4 *
5 * Copyright (C) 1991, 1992 Linus Torvalds
6 * Copyright (C) 2000, 2001, 2002 Andi Kleen SuSE Labs
7 * Copyright (C) 2000 Pavel Machek <pavel@suse.cz>
8 *

--- 464 unchanged lines hidden (view full) ---

473 jmp paranoid_exit
474
475_ASM_NOKPROBE(\asmsym)
476SYM_CODE_END(\asmsym)
477.endm
478
479/*
480 * Include the defines which emit the idt entries which are shared
481 * shared between 32 and 64 bit.
481 * shared between 32 and 64 bit and emit the __irqentry_text_* markers
482 * so the stacktrace boundary checks work.
482 */
483 */
484 .align 16
485 .globl __irqentry_text_start
486__irqentry_text_start:
487
483#include <asm/idtentry.h>
484
488#include <asm/idtentry.h>
489
490 .align 16
491 .globl __irqentry_text_end
492__irqentry_text_end:
493
485SYM_CODE_START_LOCAL(common_interrupt_return)
486SYM_INNER_LABEL(swapgs_restore_regs_and_return_to_usermode, SYM_L_GLOBAL)
487#ifdef CONFIG_DEBUG_ENTRY
488 /* Assert that pt_regs indicates user mode. */
489 testb $3, CS(%rsp)
490 jnz 1f
491 ud2
4921:

--- 826 unchanged lines hidden ---
494SYM_CODE_START_LOCAL(common_interrupt_return)
495SYM_INNER_LABEL(swapgs_restore_regs_and_return_to_usermode, SYM_L_GLOBAL)
496#ifdef CONFIG_DEBUG_ENTRY
497 /* Assert that pt_regs indicates user mode. */
498 testb $3, CS(%rsp)
499 jnz 1f
500 ud2
5011:

--- 826 unchanged lines hidden ---