From: David Brown Date: Wed, 12 Jan 2011 20:55:16 +0000 (-0800) Subject: msm: Add MSM 8960 cpu_is check X-Git-Tag: firefly_0821_release~7613^2~2161^2~23^2~4 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=b83ce5812a1581655df8d1502398f03408539ba5;p=firefly-linux-kernel-4.4.55.git msm: Add MSM 8960 cpu_is check Signed-off-by: David Brown --- diff --git a/arch/arm/mach-msm/include/mach/cpu.h b/arch/arm/mach-msm/include/mach/cpu.h index e1ba9db37144..a9481b08d5c7 100644 --- a/arch/arm/mach-msm/include/mach/cpu.h +++ b/arch/arm/mach-msm/include/mach/cpu.h @@ -24,6 +24,7 @@ #define cpu_is_msm7x30() 0 #define cpu_is_qsd8x50() 0 #define cpu_is_msm8x60() 0 +#define cpu_is_msm8960() 0 #ifdef CONFIG_ARCH_MSM7X00A # undef cpu_is_msm7x01 @@ -45,4 +46,9 @@ # define cpu_is_msm8x60() 1 #endif +#ifdef CONFIG_ARCH_MSM8960 +# undef cpu_is_msm8960 +# define cpu_is_msm8960() 1 +#endif + #endif