From: Abhishek Paliwal <abhishek.pali...@aricent.com>

From: Andreas Herrmann <andreas.herrm...@caviumnetworks.com>

commit cd3f5389489146297eb2c11e4f9d1c4e8aaeb59f upstream

Otherwise __builtin_unreachable might be called.
Signed-off-by: Andreas Herrmann <andreas.herrm...@caviumnetworks.com>
Cc: linux-m...@linux-mips.org
Cc: David Daney <ddaney.c...@gmail.com>
Cc: James Hogan <james.ho...@imgtec.com>
Cc: k...@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/7014/
Signed-off-by: Ralf Baechle <r...@linux-mips.org>
Signed-off-by: Abhishek Paliwal <abhishek.pali...@aricent.com>
---
 arch/mips/include/asm/cpu-type.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/mips/include/asm/cpu-type.h b/arch/mips/include/asm/cpu-type.h
index 02f591b..19557ca 100644
--- a/arch/mips/include/asm/cpu-type.h
+++ b/arch/mips/include/asm/cpu-type.h
@@ -160,6 +160,7 @@ static inline int __pure __get_cpu_type(const int cpu_type)
        case CPU_CAVIUM_OCTEON:
        case CPU_CAVIUM_OCTEON_PLUS:
        case CPU_CAVIUM_OCTEON2:
+       case CPU_CAVIUM_OCTEON3:
 #endif
 
 #if defined(CONFIG_SYS_HAS_CPU_BMIPS32_3300) || \
-- 
1.8.1.4

-- 
_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to