]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
x86, 64-bit: Move K8 B step iret fixup to fault entry asm
authorBrian Gerst <brgerst@gmail.com>
Mon, 12 Oct 2009 14:18:23 +0000 (10:18 -0400)
committerIngo Molnar <mingo@elte.hu>
Mon, 12 Oct 2009 16:29:46 +0000 (18:29 +0200)
commitae24ffe5ecec17c956ac25371d7c2e12b4b36e53
treedac0241dcc85e8ec6e8fe25705fce8bf7f4ea57e
parentf3834b9ef68067199486740b31f691afb14dbdf5
x86, 64-bit: Move K8 B step iret fixup to fault entry asm

Move the handling of truncated %rip from an iret fault to the fault
entry path.

This allows x86-64 to use the standard search_extable() function.

Signed-off-by: Brian Gerst <brgerst@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Jan Beulich <jbeulich@novell.com>
LKML-Reference: <1255357103-5418-1-git-send-email-brgerst@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/uaccess.h
arch/x86/kernel/entry_64.S
arch/x86/mm/extable.c