summaryrefslogtreecommitdiffstats
path: root/arch/mips/kvm
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-10-20 14:49:13 +0200
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-10-24 17:24:47 +0200
commit95b8a5e0111a47e5ef780c04cb6293be33d6ee0d (patch)
tree0c54fd731b6ba11ed813b9225b4484042e281c71 /arch/mips/kvm
parent626bfa03729959ea9917181fb3d8ffaa1594d02a (diff)
downloadlinux-95b8a5e0111a47e5ef780c04cb6293be33d6ee0d.tar.bz2
MIPS: Remove NETLOGIC support
No (active) developer owns this hardware, so let's remove Linux support. Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/kvm')
-rw-r--r--arch/mips/kvm/entry.c8
1 files changed, 1 insertions, 7 deletions
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;
}
/**