diff options
| author | Masahiro Yamada <[email protected]> | 2017-09-08 16:13:45 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2017-09-08 18:26:47 -0700 |
| commit | 604df322363e5770735df85368f83cac4a955a24 (patch) | |
| tree | 03222c6761b0edd74a2675f21f1542b0b03e9cf1 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | 14038302944a1ceda62a104c137d24a62604d98e (diff) | |
linux/kernel.h: move DIV_ROUND_DOWN_ULL() macro
This macro is useful to avoid link error on 32-bit systems.
We have the same definition in two drivers, so move it to
include/linux/kernel.h
While we are here, refactor DIV_ROUND_UP_ULL() by using
DIV_ROUND_DOWN_ULL().
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Masahiro Yamada <[email protected]>
Acked-by: Mark Brown <[email protected]>
Cc: Cyrille Pitchen <[email protected]>
Cc: Jaroslav Kysela <[email protected]>
Cc: Takashi Iwai <[email protected]>
Cc: Liam Girdwood <[email protected]>
Cc: Boris Brezillon <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Brian Norris <[email protected]>
Cc: Richard Weinberger <[email protected]>
Cc: David Woodhouse <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions