diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-07-15 15:07:59 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-21 12:30:05 +0200 |
commit | cb3ea80b7c84a2bb521f41af75678667dddca544 (patch) | |
tree | 9bef38a2b6d8eff25d8fc72ac9c7692038e81cb7 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 2734d6c1b1a089fb593ef6a23d4b70903526fe0c (diff) |
serial: 8250: 8250_omap: make a const array static, makes object smaller
Don't populate the const array k3_soc_devices on the stack but instead it
static. Makes the object code smaller by 44 bytes:
Before:
text data bss dec hex filename
31628 5609 128 37365 91f5 drivers/tty/serial/8250/8250_omap.o
After:
text data bss dec hex filename
31520 5673 128 37321 91c9 drivers/tty/serial/8250/8250_omap.o
Reduction of 44 bytes
(gcc version 10.3.0)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20210715140759.27244-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions