summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2003-04-24 05:29:27 +0000
committeralc <alc@FreeBSD.org>2003-04-24 05:29:27 +0000
commita91c48e613cf209fb1336657a242255480ae5b4e (patch)
tree0053950659b347cf3d327a376c6e9f798b1d0551
parent87da2c3cf37429dd7554a13d8b70a046ccc3edcf (diff)
downloadFreeBSD-src-a91c48e613cf209fb1336657a242255480ae5b4e.zip
FreeBSD-src-a91c48e613cf209fb1336657a242255480ae5b4e.tar.gz
- Move swap_pager_isswapped()'s prototype to a more logical place.
-rw-r--r--sys/vm/swap_pager.h1
-rw-r--r--sys/vm/vm_pageout.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/swap_pager.h b/sys/vm/swap_pager.h
index 92c7781..074608d 100644
--- a/sys/vm/swap_pager.h
+++ b/sys/vm/swap_pager.h
@@ -120,6 +120,7 @@ void swap_pager_copy(vm_object_t, vm_object_t, vm_pindex_t, int);
void swap_pager_freespace(vm_object_t, vm_pindex_t, vm_size_t);
void swap_pager_dmzspace(vm_object_t, vm_pindex_t, vm_size_t);
void swap_pager_swap_init(void);
+int swap_pager_isswapped(vm_object_t, int);
int swap_pager_reserve(vm_object_t, vm_pindex_t, vm_size_t);
/*
diff --git a/sys/vm/vm_pageout.h b/sys/vm/vm_pageout.h
index 04386df..c5a4973 100644
--- a/sys/vm/vm_pageout.h
+++ b/sys/vm/vm_pageout.h
@@ -107,7 +107,6 @@ extern void vm_waitpfault(void);
/* XXX This is probably misplaced. */
#ifndef NO_SWAPPING
void vm_proc_swapin_all(int);
-int swap_pager_isswapped(vm_object_t, int);
#endif /* !NO_SWAPPING */
#ifdef _KERNEL
OpenPOWER on IntegriCloud