MIPS: cpu-features: Enable octeon_cache by cpu_type
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Tue, 4 Apr 2023 09:33:44 +0000 (10:33 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 5 Apr 2023 07:45:09 +0000 (09:45 +0200)
commitf641519409a73403ee6612b8648b95a688ab85c2
treebc9eb0ee4e36f0240b7722d2e991141cef06685d
parent918d779569dafd81fce4257c552aa4205c918c4a
MIPS: cpu-features: Enable octeon_cache by cpu_type

cpu_has_octeon_cache was tied to 0 for generic cpu-features,
whith this generic kernel built for octeon CPU won't boot.

Just enable this flag by cpu_type. It won't hurt orther platforms
because compiler will eliminate the code path on other processors.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/include/asm/cpu-features.h