From 335a6e05ce58db3d834b62cefbe28d1de48a57dd Mon Sep 17 00:00:00 2001 From: njl Date: Tue, 30 Nov 2004 06:18:46 +0000 Subject: [PATCH] MFamd64: Remove the cpu_reset_proxy cruft now that we run boot() on cpu 0. Also, restructure cpu_reset to be cleaner (no functional change.) --- sys/i386/i386/vm_machdep.c | 78 ++++++-------------------------------- 1 file changed, 12 insertions(+), 66 deletions(-) diff --git a/sys/i386/i386/vm_machdep.c b/sys/i386/i386/vm_machdep.c index 2a97b9d38bd1..777d16007911 100644 --- a/sys/i386/i386/vm_machdep.c +++ b/sys/i386/i386/vm_machdep.c @@ -99,11 +99,6 @@ __FBSDID("$FreeBSD$"); #endif static void cpu_reset_real(void); -#ifdef SMP -static void cpu_reset_proxy(void); -static u_int cpu_reset_proxyid; -static volatile u_int cpu_reset_proxy_active; -#endif static void sf_buf_init(void *arg); SYSINIT(sock_sf, SI_SUB_MBUF, SI_ORDER_ANY, sf_buf_init, NULL) @@ -467,73 +462,24 @@ kvtop(void *addr) return (pa); } -/* - * Force reset the processor by invalidating the entire address space! - */ - -#ifdef SMP -static void -cpu_reset_proxy() -{ - - cpu_reset_proxy_active = 1; - while (cpu_reset_proxy_active == 1) - ; /* Wait for other cpu to see that we've started */ - stop_cpus((1<" */