From fd089e08cfb72c6a4c37a24f554dc4d2874528de Mon Sep 17 00:00:00 2001 From: ad Date: Wed, 4 Jun 2008 11:30:25 +0000 Subject: [PATCH] Remove ref to uvm.page_idle_zero --- sys/arch/amd64/amd64/genassym.cf | 4 +--- sys/arch/hp300/hp300/genassym.cf | 4 +--- sys/arch/i386/i386/genassym.cf | 6 ++---- sys/arch/ia64/ia64/genassym.cf | 5 +---- sys/arch/mips/mips/genassym.cf | 3 +-- sys/arch/news68k/news68k/genassym.cf | 5 +---- sys/arch/sparc/sparc/genassym.cf | 4 +--- sys/arch/vax/vax/genassym.cf | 4 +--- sys/arch/x68k/x68k/genassym.cf | 5 +---- 9 files changed, 10 insertions(+), 30 deletions(-) diff --git a/sys/arch/amd64/amd64/genassym.cf b/sys/arch/amd64/amd64/genassym.cf index 65cb72aa4ece..10b67eed9413 100644 --- a/sys/arch/amd64/amd64/genassym.cf +++ b/sys/arch/amd64/amd64/genassym.cf @@ -1,4 +1,4 @@ -# $NetBSD: genassym.cf,v 1.34 2008/06/01 22:28:22 ad Exp $ +# $NetBSD: genassym.cf,v 1.35 2008/06/04 11:30:25 ad Exp $ # # Copyright (c) 1998, 2006, 2007, 2008 The NetBSD Foundation, Inc. @@ -156,8 +156,6 @@ define PDIR_SLOT_PTE PDIR_SLOT_PTE define VM_MAXUSER_ADDRESS (unsigned long long)VM_MAXUSER_ADDRESS -define UVM_PAGE_IDLE_ZERO offsetof(struct uvm, page_idle_zero) - define L_ADDR offsetof(struct lwp, l_addr) define L_FLAG offsetof(struct lwp, l_flag) define L_PROC offsetof(struct lwp, l_proc) diff --git a/sys/arch/hp300/hp300/genassym.cf b/sys/arch/hp300/hp300/genassym.cf index f6eb1b516604..0a5ac730eeb3 100644 --- a/sys/arch/hp300/hp300/genassym.cf +++ b/sys/arch/hp300/hp300/genassym.cf @@ -1,4 +1,4 @@ -# $NetBSD: genassym.cf,v 1.37 2008/03/24 23:02:38 cube Exp $ +# $NetBSD: genassym.cf,v 1.38 2008/06/04 11:30:25 ad Exp $ # # Copyright (c) 1982, 1990, 1993 @@ -178,8 +178,6 @@ define SIZEOF_HI sizeof(struct hp300_intr) # interrupt/fault metering define UVMEXP_INTRS offsetof(struct uvmexp, intrs) -define UVM_PAGE_IDLE_ZERO offsetof(struct uvm, page_idle_zero) - # PSL values (should just include psl.h?) define PSL_S PSL_S define PSL_IPL7 PSL_IPL7 diff --git a/sys/arch/i386/i386/genassym.cf b/sys/arch/i386/i386/genassym.cf index 6571d8fda259..3fdb128689f4 100644 --- a/sys/arch/i386/i386/genassym.cf +++ b/sys/arch/i386/i386/genassym.cf @@ -1,4 +1,4 @@ -# $NetBSD: genassym.cf,v 1.73 2008/06/01 22:06:06 christos Exp $ +# $NetBSD: genassym.cf,v 1.74 2008/06/04 11:30:25 ad Exp $ # # Copyright (c) 1998, 2006, 2007, 2008 The NetBSD Foundation, Inc. @@ -186,8 +186,6 @@ define IOMAPSIZE IOMAPSIZE define VM_MAXUSER_ADDRESS (int)VM_MAXUSER_ADDRESS -define UVM_PAGE_IDLE_ZERO offsetof(struct uvm, page_idle_zero) - define L_ADDR offsetof(struct lwp, l_addr) define L_FLAG offsetof(struct lwp, l_flag) define L_PROC offsetof(struct lwp, l_proc) @@ -309,7 +307,6 @@ define CPU_INFO_TLB_EVCNT offsetof(struct cpu_info, ci_tlb_evcnt) define CPU_INFO_CURLWP offsetof(struct cpu_info, ci_curlwp) define CPU_INFO_CURLDT offsetof(struct cpu_info, ci_curldt) define CPU_INFO_IDLELWP offsetof(struct cpu_info, ci_data.cpu_idlelwp) -define CPU_INFO_NTRAP offsetof(struct cpu_info, ci_data.cpu_ntrap) define CPU_INFO_PMAP offsetof(struct cpu_info, ci_pmap) define CPU_INFO_CPUMASK offsetof(struct cpu_info, ci_cpumask) define CPU_INFO_TSS offsetof(struct cpu_info, ci_tss) @@ -319,6 +316,7 @@ define CPU_INFO_IOBASE offsetof(struct cpu_info, ci_tss.tss_iobase) define CPU_INFO_IOMAP offsetof(struct cpu_info, ci_iomap) define IOMAP_INVALOFF IOMAP_INVALOFF define CPU_INFO_NSYSCALL offsetof(struct cpu_info, ci_data.cpu_nsyscall) +define CPU_INFO_NTRAP offsetof(struct cpu_info, ci_data.cpu_ntrap) define CPU_INFO_CURPRIORITY offsetof(struct cpu_info, ci_schedstate.spc_curpriority) define CPU_INFO_CC_SKEW offsetof(struct cpu_info, ci_data.cpu_cc_skew) diff --git a/sys/arch/ia64/ia64/genassym.cf b/sys/arch/ia64/ia64/genassym.cf index d1a8b13b6a33..dbcc870986fc 100644 --- a/sys/arch/ia64/ia64/genassym.cf +++ b/sys/arch/ia64/ia64/genassym.cf @@ -1,4 +1,4 @@ -# $NetBSD: genassym.cf,v 1.4 2008/04/28 20:23:25 martin Exp $ +# $NetBSD: genassym.cf,v 1.5 2008/06/04 11:30:25 ad Exp $ # # Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -124,9 +124,6 @@ define DT_SYMENT DT_SYMENT define LSRUN LSRUN define LSONPROC LSONPROC -# offsets needed by cpu_switch() to switch mappings. -define UVM_PAGE_IDLE_ZERO offsetof(struct uvm, page_idle_zero) - # errno values define ENAMETOOLONG ENAMETOOLONG define EFAULT EFAULT diff --git a/sys/arch/mips/mips/genassym.cf b/sys/arch/mips/mips/genassym.cf index 0010abc52505..e5d237b3ff03 100644 --- a/sys/arch/mips/mips/genassym.cf +++ b/sys/arch/mips/mips/genassym.cf @@ -1,4 +1,4 @@ -# $NetBSD: genassym.cf,v 1.42 2007/10/17 19:55:38 garbled Exp $ +# $NetBSD: genassym.cf,v 1.43 2008/06/04 11:30:25 ad Exp $ # # Copyright (c) 1997 # Jonathan Stone. All rights reserved. @@ -84,7 +84,6 @@ define U_PCB_PPL offsetof(struct user, u_pcb.pcb_ppl) define VM_MIN_ADDRESS VM_MIN_ADDRESS define VM_MIN_KERNEL_ADDRESS VM_MIN_KERNEL_ADDRESS -define UVM_PAGE_IDLE_ZERO offsetof(struct uvm, page_idle_zero) define UVMEXP_SWTCH offsetof(struct uvmexp, swtch) define SIGFPE SIGFPE diff --git a/sys/arch/news68k/news68k/genassym.cf b/sys/arch/news68k/news68k/genassym.cf index c51da99ac616..aa4d0ce68b5c 100644 --- a/sys/arch/news68k/news68k/genassym.cf +++ b/sys/arch/news68k/news68k/genassym.cf @@ -1,4 +1,4 @@ -# $NetBSD: genassym.cf,v 1.21 2007/10/17 19:55:53 garbled Exp $ +# $NetBSD: genassym.cf,v 1.22 2008/06/04 11:30:25 ad Exp $ # # Copyright (c) 1982, 1990, 1993 @@ -209,9 +209,6 @@ define SYS_execve SYS_execve define SYS_compat_16___sigreturn14 SYS_compat_16___sigreturn14 define SYS_compat_13_sigreturn13 SYS_compat_13_sigreturn13 -# UVM -define UVM_PAGE_IDLE_ZERO offsetof(struct uvm, page_idle_zero) - # SVR4 binary compatibility ifdef COMPAT_SVR4 define SVR4_SIGF_HANDLER offsetof(struct svr4_sigframe, sf_handler) diff --git a/sys/arch/sparc/sparc/genassym.cf b/sys/arch/sparc/sparc/genassym.cf index 0f6b02fdb57f..e53c9f6cdc4c 100644 --- a/sys/arch/sparc/sparc/genassym.cf +++ b/sys/arch/sparc/sparc/genassym.cf @@ -1,4 +1,4 @@ -# $NetBSD: genassym.cf,v 1.54 2008/05/02 18:11:05 martin Exp $ +# $NetBSD: genassym.cf,v 1.55 2008/06/04 11:30:26 ad Exp $ # # Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -128,8 +128,6 @@ define PMAP_CTX offsetof(struct pmap, pm_ctx) define PMAP_CTXNUM offsetof(struct pmap, pm_ctxnum) define PMAP_CPUSET offsetof(struct pmap, pm_cpuset) -define UVM_PAGE_IDLE_ZERO offsetof(struct uvm, page_idle_zero) - # interrupt/fault metering define V_INTR offsetof(struct uvmexp, intrs) define V_SOFT offsetof(struct uvmexp, softs) diff --git a/sys/arch/vax/vax/genassym.cf b/sys/arch/vax/vax/genassym.cf index cd75033d50b4..002b77ee0865 100644 --- a/sys/arch/vax/vax/genassym.cf +++ b/sys/arch/vax/vax/genassym.cf @@ -1,4 +1,4 @@ -# $NetBSD: genassym.cf,v 1.42 2008/02/23 05:48:13 matt Exp $ +# $NetBSD: genassym.cf,v 1.43 2008/06/04 11:30:26 ad Exp $ # # Copyright (c) 1997 Ludd, University of Lule}, Sweden. # All rights reserved. @@ -90,8 +90,6 @@ define BADADDR offsetof(struct cpu_dep, cpu_badaddr) define KERNBASE KERNBASE -define UVM_PAGE_IDLE_ZERO offsetof(struct uvm, page_idle_zero) - define UVME_INTRS offsetof(struct uvmexp, intrs) define UVME_SOFTS offsetof(struct uvmexp, softs) diff --git a/sys/arch/x68k/x68k/genassym.cf b/sys/arch/x68k/x68k/genassym.cf index 8e8015eedeb8..c8c4c9bee96e 100644 --- a/sys/arch/x68k/x68k/genassym.cf +++ b/sys/arch/x68k/x68k/genassym.cf @@ -1,4 +1,4 @@ -# $NetBSD: genassym.cf,v 1.27 2007/10/17 19:58:04 garbled Exp $ +# $NetBSD: genassym.cf,v 1.28 2008/06/04 11:30:26 ad Exp $ # # Copyright (c) 1982, 1990, 1993 @@ -220,9 +220,6 @@ define SYS_compat_13_sigreturn13 SYS_compat_13_sigreturn13 define EFAULT EFAULT define ENAMETOOLONG ENAMETOOLONG -# UVM -define UVM_PAGE_IDLE_ZERO offsetof(struct uvm, page_idle_zero) - # SVR4 binary compatibility ifdef COMPAT_SVR4 define SVR4_SIGF_HANDLER offsetof(struct svr4_sigframe, sf_handler)