diff options
author | Colin Ian King <[email protected]> | 2017-10-12 18:28:26 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2017-10-12 18:28:26 +0200 |
commit | 0c09dd051b0cb9cb949cf8582ff7c9b10bfdfb0f (patch) | |
tree | a5d8036754ef252057b0ccb0b049c3e437af33da /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 3961e9ac3a4546a1022988cc93aec0dc29b513de (diff) |
video: fbdev: radeon: make const array post_divs static, reduces object code size
Don't populate the read-only const array post_divs on the stack,
instead make it static. Makes the object code smaller by 90 bytes:
Before:
text data bss dec hex filename
40231 8584 896 49711 c22f radeon_base.o
After:
text data bss dec hex filename
39914 8744 960 49618 c1d2 radeon_base.o
(gcc version 7.2.0, x86_64)
Signed-off-by: Colin Ian King <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions