]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/nmi/64: Remove asm code that saves CR2
authorAndy Lutomirski <luto@kernel.org>
Wed, 15 Jul 2015 17:29:34 +0000 (10:29 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Aug 2015 03:52:14 +0000 (20:52 -0700)
commitf163d838c24833d4493e693a612be275b723d5e8
tree56e3107aed5bdc414e1e577d3146292b84005d2b
parente0146756cb2b7122adbe9b5bb97da4a99c5437b3
x86/nmi/64: Remove asm code that saves CR2

commit 0e181bb58143cb4a2e8f01c281b0816cd0e4798e upstream.

Now that do_nmi saves CR2, we don't need to save it in asm.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Borislav Petkov <bp@suse.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/entry_64.S