summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorMatt Redfearn <matt.redfearn@imgtec.com>2017-02-14 17:37:06 +0300
committerRalf Baechle <ralf@linux-mips.org>2017-08-29 16:21:50 +0300
commit114c370845111d4f2e31f9c6d4eedd9e4fc01f86 (patch)
tree616ab3b9197078e516f21ffd5270c8572d920caf /usr
parentff2c8252bfbf069dda1e53353a63b560f1369f59 (diff)
downloadlinux-114c370845111d4f2e31f9c6d4eedd9e4fc01f86.tar.xz
MIPS: R6: Constify r2_decoder_tables
The r2_decoder_tables are never modified. They are arrays of constant values and as such should be declared const. This change saves 256 bytes of kernel text, and 128 bytes of kernel data (384 bytes total) on a 32r6el_defconfig (with SMP disabled) Before: text data bss dec hex filename 5576221 1080804 267040 6924065 69a721 vmlinux After: text data bss dec hex filename 5575965 1080676 267040 6923681 69a5a1 vmlinux Signed-off-by: Matt Redfearn <matt.redfearn@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/15289/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions