浏览代码

msm: Add MSM 8960 cpu_is check

Signed-off-by: David Brown <davidb@codeaurora.org>
David Brown 14 年之前
父节点
当前提交
b83ce5812a
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      arch/arm/mach-msm/include/mach/cpu.h

+ 6 - 0
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