x86/head: Move early exception panic code into early_fixup_exception()
authorAndy Lutomirski <[email protected]>
Sat, 2 Apr 2016 14:01:34 +0000 (07:01 -0700)
committerIngo Molnar <[email protected]>
Wed, 13 Apr 2016 09:37:44 +0000 (11:37 +0200)
commit0e861fbb5bda79b871341ef2a9a8059765cbe8a4
tree72914a1b7db11d1198703033b9153b3dc9eb48e7
parent0d0efc07f3df677d7622bb760f8e2920b5e33f42
x86/head: Move early exception panic code into early_fixup_exception()

This removes a bunch of assembly and adds some C code instead.  It
changes the actual printouts on both 32-bit and 64-bit kernels, but
they still seem okay.

Tested-by: Boris Ostrovsky <[email protected]>
Signed-off-by: Andy Lutomirski <[email protected]>
Acked-by: Linus Torvalds <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Arjan van de Ven <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: KVM list <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: xen-devel <[email protected]>
Link: http://lkml.kernel.org/r/4085070316fc3ab29538d3fcfe282648d1d4ee2e.1459605520.git.luto@kernel.org
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/include/asm/uaccess.h
arch/x86/kernel/head_32.S
arch/x86/kernel/head_64.S
arch/x86/mm/extable.c