aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powernv/powernv.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-09-19 13:44:52 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-09-20 01:53:25 -0400
commit55190f88789ab62a42c3ee050090406b0bcefff8 (patch)
tree6f26ff975551bf81446249bdf37a818f43e08418 /arch/powerpc/platforms/powernv/powernv.h
parente550592e689cf8d682937f356497f989f3d88292 (diff)
powerpc: Add skeleton PowerNV platform
This adds a skeletton for the new Power "Non Virtualized" platform which will be used by machines supporting running without an hypervisor, for example in order to run KVM. These machines will be using a new firmware called OPAL for which the support will be provided by later patches. The PowerNV platform is intended to be also usable under the BML environment used internally for early CPU bringup which is why the code also supports using RTAS instead of OPAL in various places. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/powernv/powernv.h')
-rw-r--r--arch/powerpc/platforms/powernv/powernv.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/powernv/powernv.h b/arch/powerpc/platforms/powernv/powernv.h
new file mode 100644
index 000000000000..35b716008cd3
--- /dev/null
+++ b/arch/powerpc/platforms/powernv/powernv.h
@@ -0,0 +1,10 @@
1#ifndef _POWERNV_H
2#define _POWERNV_H
3
4#ifdef CONFIG_SMP
5extern void pnv_smp_init(void);
6#else
7static inline void pnv_smp_init(void) { }
8#endif
9
10#endif /* _POWERNV_H */