summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/entry-common.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2020-07-23 01:00:03 +0300
committerThomas Gleixner <tglx@linutronix.de>2020-07-24 16:04:58 +0300
commit0bf019ea59e330770883ede4499d7f711d8c3adf (patch)
tree07150fe5b0a97ab49df838b06a6445bf9192eaf0 /arch/x86/include/asm/entry-common.h
parenta377ac1cd9d7b9ac8d546dceb3d74956fbfd443f (diff)
downloadlinux-0bf019ea59e330770883ede4499d7f711d8c3adf.tar.xz
x86/ptrace: Provide pt_regs helper for entry/exit
As a preparatory step for moving the syscall and interrupt entry/exit handling into generic code, provide a pt_regs helper which retrieves the interrupt state from pt_regs. This is required to check whether interrupts are reenabled by return from interrupt/exception. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Kees Cook <keescook@chromium.org> Link: https://lkml.kernel.org/r/20200722220520.258511584@linutronix.de
Diffstat (limited to 'arch/x86/include/asm/entry-common.h')
0 files changed, 0 insertions, 0 deletions