Module Name: src Committed By: maxv Date: Sat Jan 27 08:12:27 UTC 2018
Modified Files: src/sys/arch/amd64/include: frameasm.h src/sys/arch/i386/include: frameasm.h Log Message: Remove DO_DEFERRED_SWITCH and DO_DEFERRED_SWITCH_RETRY, unused. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/arch/amd64/include/frameasm.h cvs rdiff -u -r1.22 -r1.23 src/sys/arch/i386/include/frameasm.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/amd64/include/frameasm.h diff -u src/sys/arch/amd64/include/frameasm.h:1.31 src/sys/arch/amd64/include/frameasm.h:1.32 --- src/sys/arch/amd64/include/frameasm.h:1.31 Sun Jan 21 11:21:40 2018 +++ src/sys/arch/amd64/include/frameasm.h Sat Jan 27 08:12:27 2018 @@ -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 @@ usertrap ; \ 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) Index: src/sys/arch/i386/include/frameasm.h diff -u src/sys/arch/i386/include/frameasm.h:1.22 src/sys/arch/i386/include/frameasm.h:1.23 --- src/sys/arch/i386/include/frameasm.h:1.22 Sat Jan 27 08:05:14 2018 +++ src/sys/arch/i386/include/frameasm.h Sat Jan 27 08:12:27 2018 @@ -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)