]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
x86/head: Move early exception panic code into early_fixup_exception()
authorAndy Lutomirski <luto@kernel.org>
Sat, 2 Apr 2016 14:01:34 +0000 (07:01 -0700)
committerIngo Molnar <mingo@kernel.org>
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 <boris.ostrovsky@oracle.com>
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: KVM list <kvm@vger.kernel.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: xen-devel <Xen-devel@lists.xen.org>
Link: http://lkml.kernel.org/r/4085070316fc3ab29538d3fcfe282648d1d4ee2e.1459605520.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/uaccess.h
arch/x86/kernel/head_32.S
arch/x86/kernel/head_64.S
arch/x86/mm/extable.c