Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm put the kernel-only externs back before <machine/pma...
details: https://anonhg.NetBSD.org/src/rev/21048ca7d1bb
branches: trunk
changeset: 759112:21048ca7d1bb
user: mrg <mrg%NetBSD.org@localhost>
date: Mon Nov 29 09:49:33 2010 +0000
description:
put the kernel-only externs back before <machine/pmap.h>. fixes ofppc build.
diffstat:
sys/uvm/uvm_pmap.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r 11b024a23ce9 -r 21048ca7d1bb sys/uvm/uvm_pmap.h
--- a/sys/uvm/uvm_pmap.h Mon Nov 29 09:34:40 2010 +0000
+++ b/sys/uvm/uvm_pmap.h Mon Nov 29 09:49:33 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_pmap.h,v 1.34 2010/11/26 18:51:19 christos Exp $ */
+/* $NetBSD: uvm_pmap.h,v 1.35 2010/11/29 09:49:33 mrg Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -86,11 +86,12 @@
typedef struct pmap_statistics *pmap_statistics_t;
#ifdef _KERNEL
-#include <machine/pmap.h>
extern struct pmap *const kernel_pmap_ptr;
#define pmap_kernel() kernel_pmap_ptr
+#include <machine/pmap.h>
+
#endif
/*
Home |
Main Index |
Thread Index |
Old Index