aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/sys/vmsystm.h2
-rw-r--r--module/spl/spl-kmem.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/sys/vmsystm.h b/include/sys/vmsystm.h
index 929c790d0..e0995c374 100644
--- a/include/sys/vmsystm.h
+++ b/include/sys/vmsystm.h
@@ -58,7 +58,9 @@ extern vmem_t *zio_alloc_arena; /* arena for zio caches */
extern vmem_t *zio_arena; /* arena for allocating zio memory */
extern pgcnt_t spl_kmem_availrmem(void);
+#if 0
extern size_t vmem_size(vmem_t *vmp, int typemask);
+#endif
/*
* The following symbols are available for use within the kernel
diff --git a/module/spl/spl-kmem.c b/module/spl/spl-kmem.c
index b8b006610..1030cdd8e 100644
--- a/module/spl/spl-kmem.c
+++ b/module/spl/spl-kmem.c
@@ -118,6 +118,7 @@ spl_kmem_availrmem(void)
}
EXPORT_SYMBOL(spl_kmem_availrmem);
+#if 0
size_t
vmem_size(vmem_t *vmp, int typemask)
{
@@ -137,6 +138,7 @@ vmem_size(vmem_t *vmp, int typemask)
return size;
}
EXPORT_SYMBOL(vmem_size);
+#endif
/*