Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/uebayasi-xip]: src/sys/uvm Fix a #if/#ifdef miuse.
details: https://anonhg.NetBSD.org/src/rev/bc8037dfe350
branches: uebayasi-xip
changeset: 751772:bc8037dfe350
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Thu Aug 12 03:41:55 2010 +0000
description:
Fix a #if/#ifdef miuse.
diffstat:
sys/uvm/uvm_fault.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e61bbc17e99f -r bc8037dfe350 sys/uvm/uvm_fault.c
--- a/sys/uvm/uvm_fault.c Thu Aug 12 02:53:09 2010 +0000
+++ b/sys/uvm/uvm_fault.c Thu Aug 12 03:41:55 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_fault.c,v 1.166.2.20 2010/07/22 07:49:45 uebayasi Exp $ */
+/* $NetBSD: uvm_fault.c,v 1.166.2.21 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.20 2010/07/22 07:49:45 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.166.2.21 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
Home |
Main Index |
Thread Index |
Old Index