diff --git a/sys/amd64/amd64/cpu_switch.S b/sys/amd64/amd64/cpu_switch.S index c2a498d4c39a..f09c0496b434 100644 --- a/sys/amd64/amd64/cpu_switch.S +++ b/sys/amd64/amd64/cpu_switch.S @@ -33,7 +33,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: swtch.s,v 1.75 1998/07/28 17:35:09 bde Exp $ + * $Id: swtch.s,v 1.76 1999/03/18 04:22:23 jlemon Exp $ */ #include "npx.h" @@ -317,12 +317,6 @@ _idle: .globl idle_loop idle_loop: -#if defined(SWTCH_OPTIM_STATS) - incl _tlb_flush_count -#endif - movl %cr3,%eax /* ouch! */ - movl %eax,%cr3 - cmpl $0,_smp_active jne 1f cmpl $0,_cpuid diff --git a/sys/amd64/amd64/swtch.s b/sys/amd64/amd64/swtch.s index c2a498d4c39a..f09c0496b434 100644 --- a/sys/amd64/amd64/swtch.s +++ b/sys/amd64/amd64/swtch.s @@ -33,7 +33,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: swtch.s,v 1.75 1998/07/28 17:35:09 bde Exp $ + * $Id: swtch.s,v 1.76 1999/03/18 04:22:23 jlemon Exp $ */ #include "npx.h" @@ -317,12 +317,6 @@ _idle: .globl idle_loop idle_loop: -#if defined(SWTCH_OPTIM_STATS) - incl _tlb_flush_count -#endif - movl %cr3,%eax /* ouch! */ - movl %eax,%cr3 - cmpl $0,_smp_active jne 1f cmpl $0,_cpuid diff --git a/sys/i386/i386/swtch.s b/sys/i386/i386/swtch.s index c2a498d4c39a..f09c0496b434 100644 --- a/sys/i386/i386/swtch.s +++ b/sys/i386/i386/swtch.s @@ -33,7 +33,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: swtch.s,v 1.75 1998/07/28 17:35:09 bde Exp $ + * $Id: swtch.s,v 1.76 1999/03/18 04:22:23 jlemon Exp $ */ #include "npx.h" @@ -317,12 +317,6 @@ _idle: .globl idle_loop idle_loop: -#if defined(SWTCH_OPTIM_STATS) - incl _tlb_flush_count -#endif - movl %cr3,%eax /* ouch! */ - movl %eax,%cr3 - cmpl $0,_smp_active jne 1f cmpl $0,_cpuid