Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2018 22:13:53 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r328153 - head/sys/amd64/amd64
Message-ID:  <201801182213.w0IMDrZk028109@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Thu Jan 18 22:13:53 2018
New Revision: 328153
URL: https://svnweb.freebsd.org/changeset/base/328153

Log:
  Remove two no-longer-used labels from the NMI interrupt handler.
  
  Reviewed by:	kib

Modified:
  head/sys/amd64/amd64/exception.S

Modified: head/sys/amd64/amd64/exception.S
==============================================================================
--- head/sys/amd64/amd64/exception.S	Thu Jan 18 22:13:31 2018	(r328152)
+++ head/sys/amd64/amd64/exception.S	Thu Jan 18 22:13:53 2018	(r328153)
@@ -663,9 +663,8 @@ outofnmi:
 	cli
 nocallchain:
 #endif
-	testl	%ebx,%ebx
+	testl	%ebx,%ebx	/* %ebx == 0 => return to userland */
 	jnz	doreti_exit
-nmi_kernelexit:
 	/*
 	 * Put back the preserved MSR_GSBASE value.
 	 */
@@ -675,7 +674,6 @@ nmi_kernelexit:
 	shrq	$32,%rdx
 	wrmsr
 	movq	%r13,%cr3
-nmi_restoreregs:
 	RESTORE_REGS
 	addq	$TF_RIP,%rsp
 	jmp	doreti_iret



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801182213.w0IMDrZk028109>