diff options
| author | Jean Delvare <[email protected]> | 2012-11-12 14:18:02 +0100 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2012-11-21 17:44:59 +0100 |
| commit | e3fef09dda9ebf113a9a861260eff6f223808043 (patch) | |
| tree | c145ff192b00236d12559eaab4e720a666ded70d /include/linux/timerqueue.h | |
| parent | bf6f036848ab2151c2498f11cb7d31a52a95dd5c (diff) | |
drm/i915: Optimize DIV_ROUND_CLOSEST call
DIV_ROUND_CLOSEST is faster if the compiler knows it will only be
dealing with unsigned dividends. This optimization rips 32 bytes of
binary code on x86_64.
Signed-off-by: Jean Delvare <[email protected]>
Cc: Guenter Roeck <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: David Airlie <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions