diff options
| author | Colin Ian King <[email protected]> | 2019-09-06 19:11:14 +0100 | 
|---|---|---|
| committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2020-01-03 14:27:47 +0100 | 
| commit | 776b0aa9a645804cbae0e9adf7e3556c25707da9 (patch) | |
| tree | 8f7c2279bc91db6c8757a9fd35311023865472e9 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 3149299e105b678bd30df63f07bb4ab54ed0c373 (diff) | |
fbdev: matrox: make array wtst_xlat static const, makes object smaller
Don't populate the array wtst_xlat on the stack but instead make it
static const. Makes the object code smaller by 89 bytes.
Before:
   text	   data	    bss	    dec	    hex	filename
  14347	    840	      0	  15187	   3b53	fbdev/matrox/matroxfb_misc.o
After:
   text	   data	    bss	    dec	    hex	filename
  14162	    936	      0	  15098	   3afa	fbdev/matrox/matroxfb_misc.o
(gcc version 9.2.1, amd64)
Signed-off-by: Colin Ian King <[email protected]>
[b.zolnierkie: use u8 while at it (suggested by Ville Syrjälä)]
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions