[linux-yocto] [PATCH 1/9] MIPS OCTEON Add OCTEON3 to get cpu type

Chandrakala Chavva cchavva.cavm at gmail.com
Fri Jan 23 09:53:06 PST 2015


From: Abhishek Paliwal <abhishek.paliwal at aricent.com>

From: Andreas Herrmann <andreas.herrmann at caviumnetworks.com>

commit cd3f5389489146297eb2c11e4f9d1c4e8aaeb59f upstream

Otherwise __builtin_unreachable might be called.
Signed-off-by: Andreas Herrmann <andreas.herrmann at caviumnetworks.com>
Cc: linux-mips at linux-mips.org
Cc: David Daney <ddaney.cavm at gmail.com>
Cc: James Hogan <james.hogan at imgtec.com>
Cc: kvm at vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/7014/
Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
Signed-off-by: Abhishek Paliwal <abhishek.paliwal at 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



More information about the linux-yocto mailing list