Files
linux/drivers/block
Jens Axboe 25640e792f nbd: fix 64-bit division
commit e88f72cb9f upstream.

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: ef77b51524 ("nbd: use loff_t for blocksize and nbd_set_size args")
Signed-off-by: Jens Axboe <axboe@fb.com>
Cc: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-04-21 09:31:23 +02:00
..
2016-09-15 08:42:03 -06:00
2016-06-27 12:26:08 -07:00
2016-06-27 12:26:08 -07:00
2011-08-08 11:40:15 +02:00
2016-03-14 09:06:01 -06:00
2017-03-12 06:41:45 +01:00
2015-09-23 11:01:16 -06:00
2016-03-15 15:59:47 -07:00
2017-04-21 09:31:23 +02:00
2016-08-07 14:41:02 -06:00
2016-06-27 12:26:08 -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
2009-03-26 21:15:27 +01:00
2016-08-07 14:41:02 -06:00
2016-09-15 08:42:03 -06:00