diff options
author | Ricardo M. Correia <[email protected]> | 2009-02-26 18:05:39 +0000 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2009-03-05 10:13:59 -0800 |
commit | 32f74c5280ca9a753991b97370e7c4c1a4e34ede (patch) | |
tree | 47b077b5ddb6ba93e55b8a008965cd7b508c7084 | |
parent | 04fa349d697f1e28e498059d730c7d810710739a (diff) |
XXX: Temporarily disable vmem_size().
-rw-r--r-- | include/sys/vmsystm.h | 2 | ||||
-rw-r--r-- | module/spl/spl-kmem.c | 2 |
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 /* |