Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/uebayasi-xip]: src/sys/miscfs/genfs Put comments to reflect my intent ab...
details: https://anonhg.NetBSD.org/src/rev/bd06e3a4b218
branches: uebayasi-xip
changeset: 751626:bd06e3a4b218
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Wed Mar 17 16:09:17 2010 +0000
description:
Put comments to reflect my intent about genfs_do_getpages_xip method.
diffstat:
sys/miscfs/genfs/genfs_io.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r 27a2147e44fa -r bd06e3a4b218 sys/miscfs/genfs/genfs_io.c
--- a/sys/miscfs/genfs/genfs_io.c Mon Mar 15 00:47:39 2010 +0000
+++ b/sys/miscfs/genfs/genfs_io.c Wed Mar 17 16:09:17 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: genfs_io.c,v 1.36.2.4 2010/02/28 06:29:19 uebayasi Exp $ */
+/* $NetBSD: genfs_io.c,v 1.36.2.5 2010/03/17 16:09:17 uebayasi Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfs_io.c,v 1.36.2.4 2010/02/28 06:29:19 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfs_io.c,v 1.36.2.5 2010/03/17 16:09:17 uebayasi Exp $");
#include "opt_device_page.h"
#include "opt_xip.h"
@@ -114,6 +114,7 @@
} */ * const ap = v;
struct vnode * const vp = ap->a_vp;
+ /* XXX should be merged into genfs_do_getpages() */
if ((vp->v_vflag & VV_XIP) != 0)
return genfs_do_getpages_xip(v);
else
@@ -742,6 +743,7 @@
}
#ifdef XIP
+/* XXX should be merged into genfs_do_getpages() */
static int
genfs_do_getpages_xip(void *v)
{
Home |
Main Index |
Thread Index |
Old Index