diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-09-15 12:20:38 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-10-25 12:15:34 +0530 |
commit | 4c0eee50658746b0333d35a75d3db6e0aac08ef9 (patch) | |
tree | a1a8cb20ff9c0059802c60921567ec716c92777d /.gitattributes | |
parent | 9bf9e0b44104d05b21761441227ae566c732ecb9 (diff) | |
download | linux-4c0eee50658746b0333d35a75d3db6e0aac08ef9.tar.bz2 |
dmaengine: sh: make array ds_lut static
Don't populate the read-only array ds_lut on the stack but instead it
static. Also makes the object code smaller by 163 bytes:
Before:
text data bss dec hex filename
23508 4796 0 28304 6e90 ./drivers/dma/sh/rz-dmac.o
After:
text data bss dec hex filename
23281 4860 0 28141 6ded ./drivers/dma/sh/rz-dmac.o
(gcc version 11.2.0)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20210915112038.12407-1-colin.king@canonical.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions