summaryrefslogtreecommitdiff
path: root/sys/uvm
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2024-09-30 08:09:40 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2024-09-30 08:09:40 +0000
commit4a41707fc9901be89755810a61786285e4f33f13 (patch)
tree4e7abc136febfdd5e5c1f29124aa2475f3f426a8 /sys/uvm
parent72e66def00a941e9a531c3c24c5fa8b8716274cc (diff)
Return the number of freed pages and handle SHRINK_STOP in drmbackoff().
ok jsg@
Diffstat (limited to 'sys/uvm')
-rw-r--r--sys/uvm/uvm_pdaemon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_pdaemon.c b/sys/uvm/uvm_pdaemon.c
index 700d4206ed2..be32a5ab635 100644
--- a/sys/uvm/uvm_pdaemon.c
+++ b/sys/uvm/uvm_pdaemon.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_pdaemon.c,v 1.114 2024/05/01 12:54:27 mpi Exp $ */
+/* $OpenBSD: uvm_pdaemon.c,v 1.115 2024/09/30 08:09:39 mpi Exp $ */
/* $NetBSD: uvm_pdaemon.c,v 1.23 2000/08/20 10:24:14 bjh21 Exp $ */
/*
@@ -84,7 +84,7 @@
#include "drm.h"
#if NDRM > 0
-extern void drmbackoff(long);
+extern unsigned long drmbackoff(long);
#endif
/*