Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch #include opt_uvm.h in machine/vmparam.h (for those ...
details: https://anonhg.NetBSD.org/src/rev/721072fb7079
branches: trunk
changeset: 543344:721072fb7079
user: atatat <atatat%NetBSD.org@localhost>
date: Sun Feb 23 19:13:43 2003 +0000
description:
#include opt_uvm.h in machine/vmparam.h (for those ports offering the
topdown option) so that including it directly before including
uvm/uvm_param.h (or uvm/uvm_extern.h which includes uvm/uvm_param.h)
and attempting to use topdown won't result in a compiler error.
Problem noted in private email.
diffstat:
sys/arch/i386/include/vmparam.h | 5 ++++-
sys/arch/powerpc/include/oea/vmparam.h | 3 +++
2 files changed, 7 insertions(+), 1 deletions(-)
diffs (32 lines):
diff -r 5b0f6e7cef1a -r 721072fb7079 sys/arch/i386/include/vmparam.h
--- a/sys/arch/i386/include/vmparam.h Sun Feb 23 19:08:18 2003 +0000
+++ b/sys/arch/i386/include/vmparam.h Sun Feb 23 19:13:43 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.48 2003/02/20 22:16:05 atatat Exp $ */
+/* $NetBSD: vmparam.h,v 1.49 2003/02/23 19:13:44 atatat Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -105,6 +105,9 @@
/*
* The address to which unspecified mapping requests default
*/
+#ifdef _KERNEL_OPT
+#include "opt_uvm.h"
+#endif
#define __HAVE_TOPDOWN_VM
#ifdef USE_TOPDOWN_VM
#define VM_DEFAULT_ADDRESS(da, sz) \
diff -r 5b0f6e7cef1a -r 721072fb7079 sys/arch/powerpc/include/oea/vmparam.h
--- a/sys/arch/powerpc/include/oea/vmparam.h Sun Feb 23 19:08:18 2003 +0000
+++ b/sys/arch/powerpc/include/oea/vmparam.h Sun Feb 23 19:13:43 2003 +0000
@@ -156,6 +156,9 @@
* Put the stack in it's own segment and start mmaping at the
* top of the next lower segment.
*/
+#ifdef _KERNEL_OPT
+#include "opt_uvm.h"
+#endif
#define __HAVE_TOPDOWN_VM
#ifdef USE_TOPDOWN_VM
#define VM_DEFAULT_ADDRESS(da, sz) \
Home |
Main Index |
Thread Index |
Old Index