Jens Axboe e88f72cb9f nbd: fix 64-bit division
We have this:

ERROR: "__aeabi_ldivmod" [drivers/block/nbd.ko] undefined!
ERROR: "__divdi3" [drivers/block/nbd.ko] undefined!
nbd.c:(.text+0x247c72): undefined reference to `__divdi3'

due to a recent commit, that did 64-bit division. Use the proper
divider function so that 32-bit compiles don't break.

Fixes: ef77b515243b ("nbd: use loff_t for blocksize and nbd_set_size args")
Signed-off-by: Jens Axboe <axboe@fb.com>
2016-12-03 12:08:03 -07:00
..
2016-06-27 12:26:08 -07:00
2016-10-25 11:55:25 -06:00
2016-06-27 12:26:08 -07:00
2011-08-08 11:40:15 +02:00
2014-08-08 15:57:28 -07:00
2016-11-22 08:57:55 -07:00
2015-09-23 11:01:16 -06:00
2016-03-15 15:59:47 -07:00
2016-12-03 12:08:03 -07:00
2016-11-16 08:26:11 -07:00
2016-06-27 12:26:08 -07:00
2016-06-27 12:26:08 -07:00
2013-11-08 09:10:30 -07:00
2016-06-27 12:26:08 -07:00
2016-09-15 08:42:03 -06:00