diff options
author | Colin Ian King <colin.king@canonical.com> | 2020-06-11 16:08:31 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-07-18 08:58:26 +0200 |
commit | fb2595456d75d688305690fb555fe8d31b18f673 (patch) | |
tree | dc9f23eb2f98b2b490a6d629528f29878ac1bf47 /scripts/gdb/linux/tasks.py | |
parent | 3a0744603a042fc2dae70845923bce0e50d634fb (diff) |
media: atomisp: make const arrays static, makes object smaller
Don't populate const arrays on the stack but instead make them
static. Makes the object code smaller by 150 bytes.
Before:
text data bss dec hex filename
111083 23692 64 134839 20eb7 atomisp/pci/atomisp_compat_css20.o
After:
text data bss dec hex filename
110773 23852 64 134689 20e21 atomisp/pci/atomisp_compat_css20.o
After:
(gcc version 9.3.0, amd64)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions