summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/vm/anon.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/vm/anon.h')
-rw-r--r--usr/src/uts/common/vm/anon.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/src/uts/common/vm/anon.h b/usr/src/uts/common/vm/anon.h
index 2a39c896bc..1273b984fb 100644
--- a/usr/src/uts/common/vm/anon.h
+++ b/usr/src/uts/common/vm/anon.h
@@ -20,6 +20,7 @@
*/
/*
* Copyright (c) 1986, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, Joyent, Inc. All rights reserved.
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
@@ -390,7 +391,8 @@ extern int anon_fill_cow_holes(struct seg *, caddr_t, struct anon_hdr *,
uint_t, struct vpage [], struct cred *);
extern void anon_free(struct anon_hdr *, ulong_t, size_t);
extern void anon_free_pages(struct anon_hdr *, ulong_t, size_t, uint_t);
-extern void anon_disclaim(struct anon_map *, ulong_t, size_t);
+extern int anon_disclaim(struct anon_map *,
+ ulong_t, size_t, uint_t, pgcnt_t *);
extern int anon_getpage(struct anon **, uint_t *, struct page **,
size_t, struct seg *, caddr_t, enum seg_rw, struct cred *);
extern int swap_getconpage(struct vnode *, u_offset_t, size_t,