Module Name: src
Committed By: mrg
Date: Mon Nov 29 09:49:33 UTC 2010
Modified Files:
src/sys/uvm: uvm_pmap.h
Log Message:
put the kernel-only externs back before <machine/pmap.h>. fixes ofppc build.
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/uvm/uvm_pmap.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/uvm/uvm_pmap.h
diff -u src/sys/uvm/uvm_pmap.h:1.34 src/sys/uvm/uvm_pmap.h:1.35
--- src/sys/uvm/uvm_pmap.h:1.34 Fri Nov 26 18:51:19 2010
+++ src/sys/uvm/uvm_pmap.h Mon Nov 29 09:49:33 2010
@@ -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
/*