Merge tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[sfrench/cifs-2.6.git] / arch / arm / include / asm / smp_scu.h
index 800f5228939fa669dbc255d43146e62a2309356f..b818e5d0cd7840efcdc2689df5d18401bbf10b0a 100644 (file)
@@ -28,6 +28,8 @@ static inline unsigned long scu_a9_get_base(void)
 #ifdef CONFIG_HAVE_ARM_SCU
 unsigned int scu_get_core_count(void __iomem *);
 int scu_power_mode(void __iomem *, unsigned int);
+int scu_cpu_power_enable(void __iomem *, unsigned int);
+int scu_get_cpu_power_mode(void __iomem *scu_base, unsigned int logical_cpu);
 #else
 static inline unsigned int scu_get_core_count(void __iomem *scu_base)
 {
@@ -37,6 +39,16 @@ static inline int scu_power_mode(void __iomem *scu_base, unsigned int mode)
 {
        return -EINVAL;
 }
+static inline int scu_cpu_power_enable(void __iomem *scu_base,
+                                      unsigned int mode)
+{
+       return -EINVAL;
+}
+static inline int scu_get_cpu_power_mode(void __iomem *scu_base,
+                                        unsigned int logical_cpu)
+{
+       return -EINVAL;
+}
 #endif
 
 #if defined(CONFIG_SMP) && defined(CONFIG_HAVE_ARM_SCU)