Module Name:    src
Committed By:   njoly
Date:           Tue Nov  8 12:44:29 UTC 2011

Modified Files:
        src/sys/arch/x86/x86: pmap.c

Log Message:
Fix build.


To generate a diff of this commit:
cvs rdiff -u -r1.139 -r1.140 src/sys/arch/x86/x86/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x86/x86/pmap.c
diff -u src/sys/arch/x86/x86/pmap.c:1.139 src/sys/arch/x86/x86/pmap.c:1.140
--- src/sys/arch/x86/x86/pmap.c:1.139	Sun Nov  6 20:21:05 2011
+++ src/sys/arch/x86/x86/pmap.c	Tue Nov  8 12:44:29 2011
@@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.1
 #endif
 
 /* If this is not needed anymore it should be GC'ed */
+#ifndef PG_k
 #define	PG_k	0
+#endif
 
 /*
  * general info:

Reply via email to