From 95b8a5e0111a47e5ef780c04cb6293be33d6ee0d Mon Sep 17 00:00:00 2001 From: Thomas Bogendoerfer Date: Wed, 20 Oct 2021 14:49:13 +0200 Subject: MIPS: Remove NETLOGIC support No (active) developer owns this hardware, so let's remove Linux support. Signed-off-by: Thomas Bogendoerfer --- arch/mips/kvm/entry.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'arch/mips/kvm') diff --git a/arch/mips/kvm/entry.c b/arch/mips/kvm/entry.c index 8131fb2bdf97..aceed14aa1f7 100644 --- a/arch/mips/kvm/entry.c +++ b/arch/mips/kvm/entry.c @@ -104,13 +104,7 @@ static void *kvm_mips_build_ret_to_host(void *addr); */ static int c0_kscratch(void) { - switch (boot_cpu_type()) { - case CPU_XLP: - case CPU_XLR: - return 22; - default: - return 31; - } + return 31; } /** -- cgit v1.2.3-70-g09d2