diff options
author | Jiri Slaby <[email protected]> | 2009-09-22 16:47:41 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2009-09-23 07:39:56 -0700 |
commit | 9a4a83d2ed83da0c4b45289ca72f10205aa96589 (patch) | |
tree | f2e501093b84f26e01af2a2014a49c6de98038b3 /scripts/basic/docproc.c | |
parent | 99e9e7d62becd6c7413a9e8fbda7f5b66adb5cbf (diff) |
video: console, use DIV_ROUND_UP
Use DIV_ROUND_UP explicitly instead of manual shifts and adds. It makes
the code more readable and consistent (sometimes there were shifts,
sometimes divs).
There is no change on the assembly level (compilers should do the right
job).
Signed-off-by: Jiri Slaby <[email protected]>
Cc: Sergey Senozhatsky <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Krzysztof Helt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions