summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>1999-03-20 18:44:13 +0000
committerAlan Cox <alc@FreeBSD.org>1999-03-20 18:44:13 +0000
commit2618393ec31e8544ddcfe17d9a9838fc922342c0 (patch)
tree1366427f6cf48598c02662a9a443346e6bfba081
parent22004b5952f56c76fcbc761dab32d9ad8a444238 (diff)
Notes
-rw-r--r--sys/amd64/amd64/cpu_switch.S8
-rw-r--r--sys/amd64/amd64/swtch.s8
-rw-r--r--sys/i386/i386/swtch.s8
3 files changed, 3 insertions, 21 deletions
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