mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 22:44:27 +08:00
776b0aa9a6
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 <colin.king@canonical.com> [b.zolnierkie: use u8 while at it (suggested by Ville Syrjälä)] Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190906181114.31414-1-colin.king@canonical.com |
||
---|---|---|
.. | ||
g450_pll.c | ||
g450_pll.h | ||
i2c-matroxfb.c | ||
Makefile | ||
matroxfb_accel.c | ||
matroxfb_accel.h | ||
matroxfb_base.c | ||
matroxfb_base.h | ||
matroxfb_crtc2.c | ||
matroxfb_crtc2.h | ||
matroxfb_DAC1064.c | ||
matroxfb_DAC1064.h | ||
matroxfb_g450.c | ||
matroxfb_g450.h | ||
matroxfb_maven.c | ||
matroxfb_maven.h | ||
matroxfb_misc.c | ||
matroxfb_misc.h | ||
matroxfb_Ti3026.c | ||
matroxfb_Ti3026.h |