diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-03-28 11:57:02 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-03-28 11:57:02 +0100 |
commit | a2150327250efa866c412caee84aaf05ebff9a8f (patch) | |
tree | 2eb16c56cb456104c0f14a4ed9118d52635358a8 /arch/x86/mm | |
parent | x86/mm/set_memory: Fix -Wmissing-prototypes warnings (diff) | |
parent | kill uaccess_try() (diff) | |
download | linux-a2150327250efa866c412caee84aaf05ebff9a8f.tar.xz linux-a2150327250efa866c412caee84aaf05ebff9a8f.zip |
Merge branch 'next.uaccess-2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs into x86/cleanups
Pull uaccess cleanups from Al Viro:
Consolidate the user access areas and get rid of uaccess_try(), user_ex()
and other warts.
Diffstat (limited to 'arch/x86/mm')
-rw-r--r-- | arch/x86/mm/extable.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/x86/mm/extable.c b/arch/x86/mm/extable.c index 30bb0bd3b1b8..b991aa4bdfae 100644 --- a/arch/x86/mm/extable.c +++ b/arch/x86/mm/extable.c @@ -80,18 +80,6 @@ __visible bool ex_handler_uaccess(const struct exception_table_entry *fixup, } EXPORT_SYMBOL(ex_handler_uaccess); -__visible bool ex_handler_ext(const struct exception_table_entry *fixup, - struct pt_regs *regs, int trapnr, - unsigned long error_code, - unsigned long fault_addr) -{ - /* Special hack for uaccess_err */ - current->thread.uaccess_err = 1; - regs->ip = ex_fixup_addr(fixup); - return true; -} -EXPORT_SYMBOL(ex_handler_ext); - __visible bool ex_handler_rdmsr_unsafe(const struct exception_table_entry *fixup, struct pt_regs *regs, int trapnr, unsigned long error_code, |