diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-11-02 18:48:12 +0000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2017-11-03 09:12:10 +1000 |
commit | 1a5c8164b335fb841fd9b41cd3d659de2f1c912b (patch) | |
tree | e4cd328ea56305da90de1eac8552002948f6b15e /tools/perf/scripts/python/compaction-times.py | |
parent | 690f43ab1b659a7e072a2a0b33ff5783828c168b (diff) |
drm/nouveau/bios: make const arrays hwsq_signature and edid_sig static
Don't populate arrays hwsq_signature and edid_sig on the stack but
instead make them static. Makes the object code smaller by over 190
bytes:
Before:
text data bss dec hex filename
35676 3312 64 39052 988c nouveau_bios.o
After:
text data bss dec hex filename
35319 3472 64 38855 97c7 nouveau_bios.o
(gcc version 7.2.0 x86_64)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions