diff options
author | Jon Derrick <jonathan.derrick@intel.com> | 2015-07-21 15:08:13 -0600 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-07-21 15:36:24 -0600 |
commit | c45f5c9943ce0b16b299b543c2aae12408039027 (patch) | |
tree | 93839ab1a736cad935db2646e314d7260b07d6fe /drivers/block/nbd.c | |
parent | 8ffaadf7429270914b8f146ec13cf305e01df20d (diff) |
nvme: Fixes u64 division which breaks i386 builds
Uses div_u64 for u64 division and round_down, a bitwise operation,
instead of rounddown, which uses a modulus.
Signed-off-by: Jon Derrick <jonathan.derrick@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/nbd.c')
0 files changed, 0 insertions, 0 deletions