diff options
| author | Colin Ian King <colin.king@canonical.com> | 2019-09-05 19:37:26 +0300 | 
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2019-10-14 11:28:08 +0300 | 
| commit | bc3ecbe09ab19f766699c056f3e7175bf7e96c64 (patch) | |
| tree | e68429387c1ff0453bee92e5c706d09e173b3fe5 /tools/perf/scripts/python/Perf-Trace-Util/Context.c | |
| parent | f27c22736d133baff0ab3fdc7b015d998267d817 (diff) | |
| download | linux-bc3ecbe09ab19f766699c056f3e7175bf7e96c64.tar.xz | |
dmaengine: iop-adma: make array 'handler' static const, makes object smaller
Don't populate the array 'handler' on the stack but instead make it
static const. Makes the object code smaller by 80 bytes.
Before:
   text	   data	    bss	    dec	    hex	filename
  38225	   9084	     64	  47373	   b90d	drivers/dma/iop-adma.o
After:
   text	   data	    bss	    dec	    hex	filename
  38081	   9148	     64	  47293	   b8bd	drivers/dma/iop-adma.o
(gcc version 9.2.1, amd64)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20190905163726.19690-1-colin.king@canonical.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions
