aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/include/mach
diff options
context:
space:
mode:
authorDavid Brown <davidb@codeaurora.org>2011-01-12 12:55:16 -0800
committerDavid Brown <davidb@codeaurora.org>2011-01-21 15:27:53 -0800
commitb83ce5812a1581655df8d1502398f03408539ba5 (patch)
treee69139a0341a8b66c57e5f4a1cd2a6f0e8939755 /arch/arm/mach-msm/include/mach
parenta6481cd3d901165100e12f9f1f7787293d757574 (diff)
msm: Add MSM 8960 cpu_is check
Signed-off-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm/include/mach')
-rw-r--r--arch/arm/mach-msm/include/mach/cpu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/include/mach/cpu.h b/arch/arm/mach-msm/include/mach/cpu.h
index e1ba9db3714..a9481b08d5c 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