Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/mips when USPACE <= PAGE_SIZE, we don't have m...



details:   https://anonhg.NetBSD.org/src/rev/5921aff35c57
branches:  trunk
changeset: 746798:5921aff35c57
user:      cliff <cliff%NetBSD.org@localhost>
date:      Thu Aug 20 03:33:53 2009 +0000

description:
when USPACE <= PAGE_SIZE, we don't have md_upte[] in struct mdlwp

diffstat:

 sys/arch/mips/mips/genassym.cf |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 6e9bd5e8a8dd -r 5921aff35c57 sys/arch/mips/mips/genassym.cf
--- a/sys/arch/mips/mips/genassym.cf    Thu Aug 20 02:51:27 2009 +0000
+++ b/sys/arch/mips/mips/genassym.cf    Thu Aug 20 03:33:53 2009 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index