summaryrefslogtreecommitdiffstats
path: root/arch/mips/lasat
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@mips.com>2018-11-26 18:58:40 +0000
committerPaul Burton <paul.burton@mips.com>2018-11-26 22:49:20 -0800
commit1aeba347b3a90a8b22f1c3eed0dcfba38bb8dbb8 (patch)
tree83491b85b7a0b5b81dd483fa2a58886c3f19bdce /arch/mips/lasat
parentf08153186ca5023c1672aa6417ee4fc748ac5901 (diff)
downloadlinux-stable-1aeba347b3a90a8b22f1c3eed0dcfba38bb8dbb8.tar.gz
linux-stable-1aeba347b3a90a8b22f1c3eed0dcfba38bb8dbb8.tar.bz2
linux-stable-1aeba347b3a90a8b22f1c3eed0dcfba38bb8dbb8.zip
MIPS: Hardcode cpu_has_mips* where target ISA allows
In the same vein as commit 93e01942a6eb ("MIPS: Hardcode cpu_has_* where known at compile time due to ISA"), we can use our knowledge of the ISA being targeted by the kernel build to make cpu_has_mips* macros compile-time constant in some cases. This allows the compiler greater opportunity to optimize out code which will never execute. Signed-off-by: Paul Burton <paul.burton@mips.com> Patchwork: https://patchwork.linux-mips.org/patch/21245/ Cc: linux-mips@linux-mips.org
Diffstat (limited to 'arch/mips/lasat')
0 files changed, 0 insertions, 0 deletions