Re: [PATCH] Btrfs: use do_div to avoid compile errors on 32bit box
From: Josef Bacik <hidden> Date: 2011-08-19 13:22:51
On Fri, Aug 19, 2011 at 05:48:44PM +0800, Liu Bo wrote:
When doing div operation of u64 type, we need to be careful and use do_div
to avoid compile ERROR on 32bit box:
"ERROR: "__udivdi3" [fs/btrfs/btrfs.ko] undefined!
make[1]: *** [__modpost] Error 1
Signed-off-by: Liu Bo <redacted>
Chris just left for vacation, can you send this to Linus/lkml so it gets pulled
in. Thanks,
Josef