Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86/x86 Fix build.



details:   https://anonhg.NetBSD.org/src/rev/2317a687813c
branches:  trunk
changeset: 771084:2317a687813c
user:      njoly <njoly%NetBSD.org@localhost>
date:      Tue Nov 08 12:44:29 2011 +0000

description:
Fix build.

diffstat:

 sys/arch/x86/x86/pmap.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 949e0cc32225 -r 2317a687813c sys/arch/x86/x86/pmap.c
--- a/sys/arch/x86/x86/pmap.c   Tue Nov 08 10:59:44 2011 +0000
+++ b/sys/arch/x86/x86/pmap.c   Tue Nov 08 12:44:29 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.139 2011/11/06 20:21:05 christos Exp $      */
+/*     $NetBSD: pmap.c,v 1.140 2011/11/08 12:44:29 njoly Exp $ */
 
 /*-
  * Copyright (c) 2008, 2010 The NetBSD Foundation, Inc.
@@ -171,7 +171,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.139 2011/11/06 20:21:05 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.140 2011/11/08 12:44:29 njoly Exp $");
 
 #include "opt_user_ldt.h"
 #include "opt_lockdebug.h"
@@ -212,7 +212,9 @@
 #endif
 
 /* If this is not needed anymore it should be GC'ed */
+#ifndef PG_k
 #define        PG_k    0
+#endif
 
 /*
  * general info:



Home | Main Index | Thread Index | Old Index