Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: Loongson64: Select mac2008 only feature

Some Loongson-64 processor didn't set MAC2008 bit in fcsr,
but actually all Loongson64 processors are MAC2008 only.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: chenhc@lemote.com
Cc: paul.burton@mips.com
Cc: linux-kernel@vger.kernel.org

authored by

Jiaxun Yang and committed by
Paul Burton
c9444384 ece276de

+1
+1
arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h
··· 46 46 #define cpu_has_wsbh 1 47 47 #define cpu_has_ic_fills_f_dc 1 48 48 #define cpu_hwrena_impl_bits 0xc0000000 49 + #define cpu_has_mac2008_only 1 49 50 50 51 #endif /* __ASM_MACH_LOONGSON64_CPU_FEATURE_OVERRIDES_H */