mtd: Add mtdswap block driver
Add a driver for allowing an mtd device to be used as a block device for swapping. The block device is volatile, and the mapping of swapped pages is not stored on flash. Signed-off-by: Jarkko Lavinen <jarkko.lavinen@nokia.com> Tested-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:

committed by
David Woodhouse

vanhempi
115ee88c15
commit
a321590246
1593
drivers/mtd/mtdswap.c
Normal file
1593
drivers/mtd/mtdswap.c
Normal file
File diff suppressed because it is too large
Load Diff
Viittaa uudesa ongelmassa
Block a user