projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] add sem_is_read/write_locked()
[powerpc.git]
/
include
/
asm-ppc64
/
smp.h
diff --git
a/include/asm-ppc64/smp.h
b/include/asm-ppc64/smp.h
index
8115ecb
..
d86f742
100644
(file)
--- a/
include/asm-ppc64/smp.h
+++ b/
include/asm-ppc64/smp.h
@@
-85,6
+85,14
@@
extern void smp_generic_take_timebase(void);
extern struct smp_ops_t *smp_ops;
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) */
#endif /* __ASSEMBLY__ */
#endif /* !(_PPC64_SMP_H) */