diff options
author | 2018-02-14 18:45:59 +0000 | |
---|---|---|
committer | 2018-02-16 14:47:43 +0100 | |
commit | ac66b8347bbad5913df098e5281fa6e2c7fc796e (patch) | |
tree | 9ac34e1d16a5a93cc37b6ccd8dca22cafef046ab /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 4.16-rc1 (diff) | |
download | wireguard-linux-ac66b8347bbad5913df098e5281fa6e2c7fc796e.tar.xz wireguard-linux-ac66b8347bbad5913df098e5281fa6e2c7fc796e.zip |
gpu: ipu-v3: make const arrays int_reg static, shrinks object size
Don't populate the const read-only arrays int_reg on the stack but instead
make them static. Makes the object code smaller by over 80 bytes:
Before:
text data bss dec hex filename
28024 8936 192 37152 9120 drivers/gpu/ipu-v3/ipu-common.o
After:
text data bss dec hex filename
27794 9080 192 37066 90ca drivers/gpu/ipu-v3/ipu-common.o
(gcc version 7.2.0 x86_64)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions