From 32f74c5280ca9a753991b97370e7c4c1a4e34ede Mon Sep 17 00:00:00 2001 From: "Ricardo M. Correia" Date: Thu, 26 Feb 2009 18:05:39 +0000 Subject: [PATCH] XXX: Temporarily disable vmem_size(). --- include/sys/vmsystm.h | 2 ++ module/spl/spl-kmem.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/include/sys/vmsystm.h b/include/sys/vmsystm.h index 929c790..e0995c3 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 b8b0066..1030cdd 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 /* -- 2.40.0