Mon Apr 13 22:04:44 2015 UTC ()
Limit <sys/rndsource.h> include to kernel.


(riastradh)
diff -r1.65 -r1.66 src/sys/uvm/uvm.h

cvs diff -r1.65 -r1.66 src/sys/uvm/uvm.h (expand / switch to unified diff)

--- src/sys/uvm/uvm.h 2015/04/13 16:46:33 1.65
+++ src/sys/uvm/uvm.h 2015/04/13 22:04:44 1.66
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: uvm.h,v 1.65 2015/04/13 16:46:33 riastradh Exp $ */ 1/* $NetBSD: uvm.h,v 1.66 2015/04/13 22:04:44 riastradh Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1997 Charles D. Cranor and Washington University. 4 * Copyright (c) 1997 Charles D. Cranor and Washington University.
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.
@@ -49,30 +49,31 @@ @@ -49,30 +49,31 @@
49 49
50#include <uvm/uvm_amap.h> 50#include <uvm/uvm_amap.h>
51#include <uvm/uvm_aobj.h> 51#include <uvm/uvm_aobj.h>
52#include <uvm/uvm_fault.h> 52#include <uvm/uvm_fault.h>
53#include <uvm/uvm_glue.h> 53#include <uvm/uvm_glue.h>
54#include <uvm/uvm_km.h> 54#include <uvm/uvm_km.h>
55#include <uvm/uvm_loan.h> 55#include <uvm/uvm_loan.h>
56#include <uvm/uvm_map.h> 56#include <uvm/uvm_map.h>
57#include <uvm/uvm_object.h> 57#include <uvm/uvm_object.h>
58#include <uvm/uvm_page.h> 58#include <uvm/uvm_page.h>
59#include <uvm/uvm_pager.h> 59#include <uvm/uvm_pager.h>
60#include <uvm/uvm_pdaemon.h> 60#include <uvm/uvm_pdaemon.h>
61#include <uvm/uvm_swap.h> 61#include <uvm/uvm_swap.h>
62#include <sys/rndsource.h> 
63 62
64#ifdef _KERNEL 63#ifdef _KERNEL
65 64
 65#include <sys/rndsource.h>
 66
66/* 67/*
67 * pull in VM_NFREELIST 68 * pull in VM_NFREELIST
68 */ 69 */
69#include <machine/vmparam.h> 70#include <machine/vmparam.h>
70 71
71struct workqueue; 72struct workqueue;
72 73
73/* 74/*
74 * per-cpu data 75 * per-cpu data
75 */ 76 */
76 77
77struct uvm_cpu { 78struct uvm_cpu {
78 struct pgfreelist page_free[VM_NFREELIST]; /* unallocated pages */ 79 struct pgfreelist page_free[VM_NFREELIST]; /* unallocated pages */