summaryrefslogtreecommitdiff
path: root/mm/frontswap.c
diff options
context:
space:
mode:
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>2021-01-26 02:32:39 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-02-22 01:37:52 +0300
commit857f6fde1c6e800b685c2da864dabd7ff9091dca (patch)
tree469c88f8355391d606cffacbb64d02651c388537 /mm/frontswap.c
parent2ce503b35dcea29767c6d03b44e3c535809fdfcc (diff)
downloadlinux-857f6fde1c6e800b685c2da864dabd7ff9091dca.tar.xz
n64: use sector SECTOR_SHIFT instead 512
Instead of using magic numbers use SECTOR_SHIFT to get the number of sectors from the size. Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Reviewed-by: Lauri Kasanen <cand@gmx.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'mm/frontswap.c')
0 files changed, 0 insertions, 0 deletions