diff options
author | 2011-08-04 19:00:33 -0300 | |
---|---|---|
committer | 2011-08-08 12:05:34 -0700 | |
commit | 3ca15c4486beb113700cda44e32109cf0d97528b (patch) | |
tree | 099ee5fff1cd27dfbc7fe070cfb9bb4312355936 /lib/mpi/mpi-bit.c | |
parent | staging:rts_pstor: fix thread synchronization flow (diff) | |
download | linux-dev-3ca15c4486beb113700cda44e32109cf0d97528b.tar.xz linux-dev-3ca15c4486beb113700cda44e32109cf0d97528b.zip |
zcache: Use div_u64 for 64-bit division
xv_get_total_size_bytes returns a u64 value and it's used in a division.
This causes build failures in 32-bit architectures, as reported by Randy
Dunlap.
Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Dan Magenheimer <dan.magenheimer@oracle.com>
Cc: Nitin Gupta <ngupta@vflare.org>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions