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

MIPS: OCTEON: Add OCTEON3 to __get_cpu_type

Otherwise __builtin_unreachable might be called.

Signed-off-by: Andreas Herrmann <andreas.herrmann@caviumnetworks.com>
Cc: linux-mips@linux-mips.org
Cc: David Daney <ddaney.cavm@gmail.com>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: kvm@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/7014/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

Andreas Herrmann and committed by
Ralf Baechle
cd3f5389 45b585c8

+1
+1
arch/mips/include/asm/cpu-type.h
··· 163 163 case CPU_CAVIUM_OCTEON: 164 164 case CPU_CAVIUM_OCTEON_PLUS: 165 165 case CPU_CAVIUM_OCTEON2: 166 + case CPU_CAVIUM_OCTEON3: 166 167 #endif 167 168 168 169 #if defined(CONFIG_SYS_HAS_CPU_BMIPS32_3300) || \