diff options
author | Matias Bjørling <m@bjorling.me> | 2015-11-02 17:12:27 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-11-03 09:53:24 -0700 |
commit | b7ceb7d50048d0dd4830f106f0fb7f5424031598 (patch) | |
tree | 63907b30b02b8ca1cb6c6ea108114a696a6ffff2 /drivers/nvme/host/lightnvm.c | |
parent | ca0640850e43f5f80c6029e2895b119b705f23bd (diff) | |
download | linux-b7ceb7d50048d0dd4830f106f0fb7f5424031598.tar.gz linux-b7ceb7d50048d0dd4830f106f0fb7f5424031598.tar.bz2 linux-b7ceb7d50048d0dd4830f106f0fb7f5424031598.zip |
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>
Diffstat (limited to 'drivers/nvme/host/lightnvm.c')
0 files changed, 0 insertions, 0 deletions