MIPS: ralink: mt7620: Add cpu-feature-override header
authorGabor Juhos <juhosg@openwrt.org>
Fri, 23 Aug 2013 13:06:36 +0000 (15:06 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 4 Sep 2013 14:58:31 +0000 (16:58 +0200)
commit9852ba6a914f95db65e86fed85d02d5309a301da
treee2bce37be0c3e28fd614d619aabfb9e209226327
parent0d4649684ca6cbc536fcc509e7aac0b34bb4146a
MIPS: ralink: mt7620: Add cpu-feature-override header

Override certain CPU features to help GCC to optimize
the generated code. Saves about 150KB in the vmlinux
image with a generic configuration.

     text    data     bss     dec     hex filename
  3824158  134820  234192 4193170  3ffb92 vmlinux.no-override
  3664054  138804  234192 4037050  3d99ba vmlinux.override

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5759/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mach-ralink/mt7620/cpu-feature-overrides.h [new file with mode: 0644]
arch/mips/ralink/Platform