Sat Jan 23 16:08:21 2016 UTC ()
allow uvm_param.h since it defines types...


(christos)
diff -r1.258 -r1.259 src/sys/sys/vnode.h

cvs diff -r1.258 -r1.259 src/sys/sys/vnode.h (expand / switch to unified diff)

--- src/sys/sys/vnode.h 2016/01/23 16:02:09 1.258
+++ src/sys/sys/vnode.h 2016/01/23 16:08:20 1.259
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: vnode.h,v 1.258 2016/01/23 16:02:09 christos Exp $ */ 1/* $NetBSD: vnode.h,v 1.259 2016/01/23 16:08:20 christos Exp $ */
2 2
3/*- 3/*-
4 * Copyright (c) 2008 The NetBSD Foundation, Inc. 4 * Copyright (c) 2008 The NetBSD Foundation, Inc.
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
@@ -58,28 +58,28 @@ @@ -58,28 +58,28 @@
58 */ 58 */
59 59
60#ifndef _SYS_VNODE_H_ 60#ifndef _SYS_VNODE_H_
61#define _SYS_VNODE_H_ 61#define _SYS_VNODE_H_
62 62
63#include <sys/event.h> 63#include <sys/event.h>
64#include <sys/queue.h> 64#include <sys/queue.h>
65#include <sys/condvar.h> 65#include <sys/condvar.h>
66#include <sys/rwlock.h> 66#include <sys/rwlock.h>
67#include <sys/mutex.h> 67#include <sys/mutex.h>
68#include <sys/time.h> 68#include <sys/time.h>
69 69
70/* XXX: clean up includes later */ 70/* XXX: clean up includes later */
71#if defined(_KERNEL) || defined(_KMEMUSER) 
72#include <uvm/uvm_param.h> /* XXX */ 71#include <uvm/uvm_param.h> /* XXX */
 72#if defined(_KERNEL) || defined(_KMEMUSER)
73#include <uvm/uvm_pglist.h> /* XXX */ 73#include <uvm/uvm_pglist.h> /* XXX */
74#include <uvm/uvm_object.h> /* XXX */ 74#include <uvm/uvm_object.h> /* XXX */
75#include <uvm/uvm_extern.h> /* XXX */ 75#include <uvm/uvm_extern.h> /* XXX */
76 76
77struct namecache; 77struct namecache;
78struct uvm_ractx; 78struct uvm_ractx;
79#endif 79#endif
80 80
81/* 81/*
82 * The vnode is the focus of all file activity in UNIX. There is a 82 * The vnode is the focus of all file activity in UNIX. There is a
83 * unique vnode allocated for each active file, each current directory, 83 * unique vnode allocated for each active file, each current directory,
84 * each mounted-on file, text file, and the root. 84 * each mounted-on file, text file, and the root.
85 */ 85 */