diff options
author | Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com> | 2011-08-04 19:00:33 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-08-08 12:05:34 -0700 |
commit | 3ca15c4486beb113700cda44e32109cf0d97528b (patch) | |
tree | 099ee5fff1cd27dfbc7fe070cfb9bb4312355936 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | f704648281831fbb8a4ca1acbe18cb84bc0267c8 (diff) |
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 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions