lightnvm: refactor phys addrs type to u64
authorMatias Bjørling <m@bjorling.me>
Mon, 2 Nov 2015 16:12:27 +0000 (17:12 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 3 Nov 2015 16:53:24 +0000 (09:53 -0700)
commitb7ceb7d50048d0dd4830f106f0fb7f5424031598
tree63907b30b02b8ca1cb6c6ea108114a696a6ffff2
parentca0640850e43f5f80c6029e2895b119b705f23bd
lightnvm: refactor phys addrs type to u64

For cases where CONFIG_LBDAF is not set. The struct ppa_addr exceeds its
type on 32 bit architectures. ppa_addr requires a 64bit integer to hold
the generic ppa format. We therefore refactor it to u64 and
replaces the sector_t usages with u64 for physical addresses.

Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/lightnvm/rrpc.c
drivers/lightnvm/rrpc.h
include/linux/lightnvm.h
This page took 0.029495 seconds and 5 git commands to generate.