diff options
| author | Colin Ian King <colin.king@canonical.com> | 2021-02-04 20:08:50 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-03-11 13:59:42 +0300 |
| commit | 0c8be47d4a72702382637775d61584a1f097f071 (patch) | |
| tree | af916a0defb2b0dde4baf311953bbac1a93934a0 /include/linux/debugobjects.h | |
| parent | bcbe55dc7b41c333970bde85eddfc5ac23e87433 (diff) | |
| download | linux-0c8be47d4a72702382637775d61584a1f097f071.tar.xz | |
media: platform: sti: make a const arrays static, makes object smaller
Don't populate the const arrays on the stack but instead it
static. Makes the object code smaller by 8 bytes:
Before:
text data bss dec hex filename
12504 4568 0 17072 42b0 media/platform/sti/hva/hva-h264.o
After:
text data bss dec hex filename
12272 4792 0 17064 42a8 media/platform/sti/hva/hva-h264.o
(gcc version 10.2.0)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
