summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2009-05-30 22:15:55 +0000
committeralc <alc@FreeBSD.org>2009-05-30 22:15:55 +0000
commitd379120e43cca82a27e76d02526045e6b69d8d57 (patch)
tree0e9220199255685098a2bcc83048535d67c4ae7a /sys/vm
parent38f28ff39299c824f6500b377edfbbf3a3176a3a (diff)
downloadFreeBSD-src-d379120e43cca82a27e76d02526045e6b69d8d57.zip
FreeBSD-src-d379120e43cca82a27e76d02526045e6b69d8d57.tar.gz
Eliminate a stale comment and the two remaining uses of the "register"
keyword in this file.
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_page.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h
index 8bbbaee..b1b1070 100644
--- a/sys/vm/vm_page.h
+++ b/sys/vm/vm_page.h
@@ -92,10 +92,6 @@
* Fields in this structure are locked either by the lock on the
* object that the page belongs to (O) or by the lock on the page
* queues (P).
- *
- * The 'valid' and 'dirty' fields are distinct. A page may have dirty
- * bits set without having associated valid bits set. This is used by
- * NFS to implement piecemeal writes.
*/
TAILQ_HEAD(pglist, vm_page);
@@ -308,13 +304,13 @@ void vm_pageq_remove(vm_page_t m);
void vm_page_activate (vm_page_t);
vm_page_t vm_page_alloc (vm_object_t, vm_pindex_t, int);
vm_page_t vm_page_grab (vm_object_t, vm_pindex_t, int);
-void vm_page_cache (register vm_page_t);
+void vm_page_cache(vm_page_t);
void vm_page_cache_free(vm_object_t, vm_pindex_t, vm_pindex_t);
void vm_page_cache_remove(vm_page_t);
void vm_page_cache_transfer(vm_object_t, vm_pindex_t, vm_object_t);
int vm_page_try_to_cache (vm_page_t);
int vm_page_try_to_free (vm_page_t);
-void vm_page_dontneed (register vm_page_t);
+void vm_page_dontneed(vm_page_t);
void vm_page_deactivate (vm_page_t);
void vm_page_insert (vm_page_t, vm_object_t, vm_pindex_t);
vm_page_t vm_page_lookup (vm_object_t, vm_pindex_t);
OpenPOWER on IntegriCloud