]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - arch/arm/include/asm/smp_scu.h
Merge tag 'soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[mirror_ubuntu-jammy-kernel.git] / arch / arm / include / asm / smp_scu.h
index 006f02681cd8e240738efb823cc904d16abaea6e..18d1693736124a75205c765b5e5f588663f3b95f 100644 (file)
@@ -24,8 +24,14 @@ static inline unsigned long scu_a9_get_base(void)
 }
 
 unsigned int scu_get_core_count(void __iomem *);
-void scu_enable(void __iomem *);
 int scu_power_mode(void __iomem *, unsigned int);
+
+#ifdef CONFIG_SMP
+void scu_enable(void __iomem *scu_base);
+#else
+static inline void scu_enable(void __iomem *scu_base) {}
+#endif
+
 #endif
 
 #endif