diff options
| author | Javi Merino <[email protected]> | 2015-04-16 19:43:45 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-04-17 13:03:55 +0000 |
| commit | f766093ecb647f5a87bfa456715abbbccee547ce (patch) | |
| tree | 818e47743fc5216fe7647dca2d1d6ca4de78c824 /lib/bitmap.c | |
| parent | lib/vsprintf.c: improve put_dec_trunc8 slightly (diff) | |
| download | kernel-f766093ecb647f5a87bfa456715abbbccee547ce.tar.gz kernel-f766093ecb647f5a87bfa456715abbbccee547ce.zip | |
kernel.h: implement DIV_ROUND_CLOSEST_ULL
We have grown a number of different implementations of
DIV_ROUND_CLOSEST_ULL throughout the kernel. Move the i915 one to
kernel.h so that it can be reused.
Signed-off-by: Javi Merino <[email protected]>
Reviewed-by: Jeff Epler <[email protected]>
Cc: Jani Nikula <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Guenter Roeck <[email protected]>
Acked-by: Daniel Vetter <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>
Cc: Alex Elder <[email protected]>
Cc: Antti Palosaari <[email protected]>
Cc: Javi Merino <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Mike Turquette <[email protected]>
Cc: Stephen Boyd <[email protected]>
Cc: Stephen Hemminger <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions
