Module Name: src
Committed By: uebayasi
Date: Thu Aug 12 03:41:55 UTC 2010
Modified Files:
src/sys/uvm [uebayasi-xip]: uvm_fault.c
Log Message:
Fix a #if/#ifdef miuse.
To generate a diff of this commit:
cvs rdiff -u -r1.166.2.19 -r1.166.2.20 src/sys/uvm/uvm_fault.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/uvm/uvm_fault.c
diff -u src/sys/uvm/uvm_fault.c:1.166.2.19 src/sys/uvm/uvm_fault.c:1.166.2.20
--- src/sys/uvm/uvm_fault.c:1.166.2.19 Thu Jul 22 07:49:45 2010
+++ src/sys/uvm/uvm_fault.c Thu Aug 12 03:41:55 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_fault.c,v 1.166.2.19 2010/07/22 07:49:45 uebayasi Exp $ */
+/* $NetBSD: uvm_fault.c,v 1.166.2.20 2010/08/12 03:41:55 uebayasi Exp $ */
/*
*
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.166.2.19 2010/07/22 07:49:45 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.166.2.20 2010/08/12 03:41:55 uebayasi Exp $");
#include "opt_uvmhist.h"
#include "opt_xip.h"
@@ -2049,7 +2049,7 @@
* if we are going to promote the data to an anon we
* allocate a blank anon here and plug it into our amap.
*/
-#if DIAGNOSTIC
+#ifdef DIAGNOSTIC
if (amap == NULL)
panic("uvm_fault: want to promote data, but no anon");
#endif