Module Name:    src
Committed By:   cliff
Date:           Thu Aug 20 03:33:53 UTC 2009

Modified Files:
        src/sys/arch/mips/mips: genassym.cf

Log Message:
when USPACE > PAGE_SIZE, we don't have md_upte[] in struct mdlwp


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/mips/mips/genassym.cf

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/mips/mips/genassym.cf
diff -u src/sys/arch/mips/mips/genassym.cf:1.45 src/sys/arch/mips/mips/genassym.cf:1.46
--- src/sys/arch/mips/mips/genassym.cf:1.45	Tue Mar 24 21:36:46 2009
+++ src/sys/arch/mips/mips/genassym.cf	Thu Aug 20 03:33:53 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: genassym.cf,v 1.45 2009/03/24 21:36:46 martin Exp $
+#	$NetBSD: genassym.cf,v 1.46 2009/08/20 03:33:53 cliff Exp $
 #
 # Copyright (c) 1992, 1993
 #	The Regents of the University of California.  All rights reserved.
@@ -100,9 +100,11 @@
 
 # Process status constants
 define	L_CPU			offsetof(struct lwp, l_cpu)
+if USPACE > PAGE_SIZE
 define	L_MD_REGS		offsetof(struct lwp, l_md.md_regs)
 define	L_MD_UPTE_0		offsetof(struct lwp, l_md.md_upte[0])
 define	L_MD_UPTE_1		offsetof(struct lwp, l_md.md_upte[1])
+endif
 define	L_MD_ASTPENDING		offsetof(struct lwp, l_md.md_astpending)
 
 define	P_RASLIST		offsetof(struct proc, p_raslist)

Reply via email to