Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Remove DO_DEFERRED_SWITCH and DO_DEFERRED_SWITCH_RE...
details: https://anonhg.NetBSD.org/src/rev/0fbeb271fa9c
branches: trunk
changeset: 359059:0fbeb271fa9c
user: maxv <maxv%NetBSD.org@localhost>
date: Sat Jan 27 08:12:27 2018 +0000
description:
Remove DO_DEFERRED_SWITCH and DO_DEFERRED_SWITCH_RETRY, unused.
diffstat:
sys/arch/amd64/include/frameasm.h | 8 +-------
sys/arch/i386/include/frameasm.h | 16 +---------------
2 files changed, 2 insertions(+), 22 deletions(-)
diffs (52 lines):
diff -r b4174ff94dd7 -r 0fbeb271fa9c sys/arch/amd64/include/frameasm.h
--- a/sys/arch/amd64/include/frameasm.h Sat Jan 27 08:05:14 2018 +0000
+++ b/sys/arch/amd64/include/frameasm.h Sat Jan 27 08:12:27 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: frameasm.h,v 1.31 2018/01/21 11:21:40 maxv Exp $ */
+/* $NetBSD: frameasm.h,v 1.32 2018/01/27 08:12:27 maxv Exp $ */
#ifndef _AMD64_MACHINE_FRAMEASM_H
#define _AMD64_MACHINE_FRAMEASM_H
@@ -174,12 +174,6 @@
XEN_ONLY2(andb $0xfc,(%rsp);) \
pushq %r13 ;
-#define DO_DEFERRED_SWITCH \
- cmpl $0, CPUVAR(WANT_PMAPLOAD) ; \
- jz 1f ; \
- call _C_LABEL(do_pmap_load) ; \
-1:
-
#define CHECK_DEFERRED_SWITCH \
cmpl $0, CPUVAR(WANT_PMAPLOAD)
diff -r b4174ff94dd7 -r 0fbeb271fa9c sys/arch/i386/include/frameasm.h
--- a/sys/arch/i386/include/frameasm.h Sat Jan 27 08:05:14 2018 +0000
+++ b/sys/arch/i386/include/frameasm.h Sat Jan 27 08:12:27 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: frameasm.h,v 1.22 2018/01/27 08:05:14 maxv Exp $ */
+/* $NetBSD: frameasm.h,v 1.23 2018/01/27 08:12:27 maxv Exp $ */
#ifndef _I386_FRAMEASM_H_
#define _I386_FRAMEASM_H_
@@ -67,20 +67,6 @@
#define INTRFASTEXIT \
jmp intrfastexit
-#define DO_DEFERRED_SWITCH \
- cmpl $0, CPUVAR(WANT_PMAPLOAD) ; \
- jz 1f ; \
- call _C_LABEL(pmap_load) ; \
- 1:
-
-#define DO_DEFERRED_SWITCH_RETRY \
- 1: ; \
- cmpl $0, CPUVAR(WANT_PMAPLOAD) ; \
- jz 1f ; \
- call _C_LABEL(pmap_load) ; \
- jmp 1b ; \
- 1:
-
#define CHECK_DEFERRED_SWITCH \
cmpl $0, CPUVAR(WANT_PMAPLOAD)
Home |
Main Index |
Thread Index |
Old Index