summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/vm/vm_page.c10
-rw-r--r--sys/vm/vm_page.h1
2 files changed, 0 insertions, 11 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
index 225ad20..42a9a29 100644
--- a/sys/vm/vm_page.c
+++ b/sys/vm/vm_page.c
@@ -1574,16 +1574,6 @@ vm_page_set_validclean(vm_page_t m, int base, int size)
}
}
-#if 0
-
-void
-vm_page_set_dirty(vm_page_t m, int base, int size)
-{
- m->dirty |= vm_page_bits(base, size);
-}
-
-#endif
-
void
vm_page_clear_dirty(vm_page_t m, int base, int size)
{
diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h
index d56f086..66631b2 100644
--- a/sys/vm/vm_page.h
+++ b/sys/vm/vm_page.h
@@ -374,7 +374,6 @@ void vm_page_unmanage (vm_page_t);
void vm_page_unwire (vm_page_t, int);
void vm_page_wire (vm_page_t);
void vm_page_set_validclean (vm_page_t, int, int);
-void vm_page_set_dirty (vm_page_t, int, int);
void vm_page_clear_dirty (vm_page_t, int, int);
void vm_page_set_invalid (vm_page_t, int, int);
int vm_page_is_valid (vm_page_t, int, int);
OpenPOWER on IntegriCloud