kernel.h: swapmap prototypes
authorAlan Cox <alan@linux.intel.com>
Thu, 19 Feb 2015 23:04:49 +0000 (23:04 +0000)
committerAlan Cox <alan@linux.intel.com>
Thu, 19 Feb 2015 23:04:49 +0000 (23:04 +0000)
Kernel/include/kernel.h

index 6b9b24a..a5f623f 100644 (file)
@@ -743,6 +743,7 @@ extern int swapwrite(uint16_t dev, blkno_t blkno, unsigned int nbytes,
                     uint8_t *buf);
 
 extern void swapmap_add(uint8_t swap);
+extern int swapmap_alloc(void);
 extern ptptr swapneeded(ptptr p, int selfok);
 extern void swapper(ptptr p);
 extern int swapout(ptptr p);