summaryrefslogtreecommitdiff
path: root/vm/vm_page.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm/vm_page.h')
-rw-r--r--vm/vm_page.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/vm/vm_page.h b/vm/vm_page.h
index 4f2aaf93..7865d16a 100644
--- a/vm/vm_page.h
+++ b/vm/vm_page.h
@@ -33,6 +33,7 @@
#include <kern/atomic.h>
#include <kern/init.h>
#include <kern/list.h>
+#include <kern/log.h>
#include <kern/log2.h>
#include <kern/macros.h>
#include <machine/page.h>
@@ -230,7 +231,7 @@ const char * vm_page_zone_name(unsigned int zone_index);
/*
* Log information about physical pages.
*/
-void vm_page_log_info(void);
+void vm_page_info(log_print_fn_t print_fn);
static inline bool
vm_page_referenced(const struct vm_page *page)