[PATCH v2 07/11] msm: Add MSM 8960 cpu_is check

Subsystems: arm port, the rest

STALE5706d

2 messages, 2 authors, 2011-01-24 · open the first message on its own page

[PATCH v2 07/11] msm: Add MSM 8960 cpu_is check

From: David Brown <hidden>
Date: 2011-01-19 20:27:09

Signed-off-by: David Brown <redacted>
---
 arch/arm/mach-msm/include/mach/cpu.h |    6 ++++++
 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 e1ba9db..a9481b0 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
-- 
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.

Re: [PATCH v2 07/11] msm: Add MSM 8960 cpu_is check

From: Daniel Walker <hidden>
Date: 2011-01-24 20:46:45

On Wed, 2011-01-19 at 12:25 -0800, David Brown wrote:
quoted hunk
diff --git a/arch/arm/mach-msm/include/mach/cpu.h
b/arch/arm/mach-msm/include/mach/cpu.h
index e1ba9db..a9481b0 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
The naming is just perverted even more here..

Daniel

-- 

Sent by a consultant of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help