]> Pileus Git - ~andy/linux/blobdiff - include/asm-ppc64/smp.h
[PATCH] ppc64: speedup cmpxchg
[~andy/linux] / include / asm-ppc64 / smp.h
index 8115ecb8feee24abd99a25b3659fb58d98315ce0..d86f742e9a2191fe90f0971f12e96f66c8d9225c 100644 (file)
@@ -85,6 +85,14 @@ extern void smp_generic_take_timebase(void);
 
 extern struct smp_ops_t *smp_ops;
 
+#ifdef CONFIG_PPC_PSERIES
+void vpa_init(int cpu);
+#else
+static inline void vpa_init(int cpu)
+{
+}
+#endif /* CONFIG_PPC_PSERIES */
+
 #endif /* __ASSEMBLY__ */
 
 #endif /* !(_PPC64_SMP_H) */