diff options
author | Mike Snitzer <snitzer@redhat.com> | 2013-08-20 15:05:17 -0400 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-08-08 15:19:12 +0900 |
commit | 67977f3c516f6cbe16753550c97e45c35d4ec3c7 (patch) | |
tree | 625cf0bd9ab4ce5a872794c1456402363a85a425 /arch | |
parent | eabfdef17c6a171eb35fe1f98275370496f992f8 (diff) | |
download | linux-3.10-67977f3c516f6cbe16753550c97e45c35d4ec3c7.tar.gz linux-3.10-67977f3c516f6cbe16753550c97e45c35d4ec3c7.tar.bz2 linux-3.10-67977f3c516f6cbe16753550c97e45c35d4ec3c7.zip |
math64: New separate div64_u64_rem helper
Commit f792685006274a850e6cc0ea9ade275ccdfc90bc ("math64: New
div64_u64_rem helper") implemented div64_u64 in terms of div64_u64_rem.
But div64_u64_rem was removed because it slowed down div64_u64 (and
there were no other users of div64_u64_rem).
Device Mapper's I/O statistics support has a need for div64_u64_rem;
reintroduce this helper as a separate method that doesn't slow down
div64_u64, especially on 32-bit systems.
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Cc: Stanislaw Gruszka <sgruszka@redhat.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
[backport]
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
Change-Id: Icd721ff57c6d127e7acb0bf17d233d0a50ff24da
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions