UBI: use nicer 64-bit math
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 16 Jan 2009 17:08:43 +0000 (19:08 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sun, 18 Jan 2009 12:27:44 +0000 (14:27 +0200)
commit3013ee31b6c5fd9a49a81816d6c13e1cdb7a1288
tree96cb10bb6576c4cbeb9843831a56c371174b29dc
parentf429b2ea8eadb5a576542a70f7fd6f5c2a7455e1
UBI: use nicer 64-bit math

Get rid of 'do_div()' and use more user-friendly primitives from
'linux/math64.h'.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/cdev.c
drivers/mtd/ubi/gluebi.c
drivers/mtd/ubi/scan.c
drivers/mtd/ubi/upd.c
drivers/mtd/ubi/vmt.c