]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/linux/vmalloc.h
Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
[linux.git] / include / linux / vmalloc.h
index 51e131245379afe953dccc915051d79179e87399..9b21d0047710e60ed2e08e2e7d8e034187b34f01 100644 (file)
@@ -72,10 +72,12 @@ extern void vm_unmap_aliases(void);
 
 #ifdef CONFIG_MMU
 extern void __init vmalloc_init(void);
+extern unsigned long vmalloc_nr_pages(void);
 #else
 static inline void vmalloc_init(void)
 {
 }
+static inline unsigned long vmalloc_nr_pages(void) { return 0; }
 #endif
 
 extern void *vmalloc(unsigned long size);