XXX: Temporarily disable vmem_size().

This commit is contained in:
Ricardo M. Correia 2009-02-26 18:05:39 +00:00 committed by Brian Behlendorf
parent 04fa349d69
commit 32f74c5280
2 changed files with 4 additions and 0 deletions

View File

@ -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 vmem_t *zio_arena; /* arena for allocating zio memory */
extern pgcnt_t spl_kmem_availrmem(void); extern pgcnt_t spl_kmem_availrmem(void);
#if 0
extern size_t vmem_size(vmem_t *vmp, int typemask); extern size_t vmem_size(vmem_t *vmp, int typemask);
#endif
/* /*
* The following symbols are available for use within the kernel * The following symbols are available for use within the kernel

View File

@ -118,6 +118,7 @@ spl_kmem_availrmem(void)
} }
EXPORT_SYMBOL(spl_kmem_availrmem); EXPORT_SYMBOL(spl_kmem_availrmem);
#if 0
size_t size_t
vmem_size(vmem_t *vmp, int typemask) vmem_size(vmem_t *vmp, int typemask)
{ {
@ -137,6 +138,7 @@ vmem_size(vmem_t *vmp, int typemask)
return size; return size;
} }
EXPORT_SYMBOL(vmem_size); EXPORT_SYMBOL(vmem_size);
#endif
/* /*