diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-09-19 19:44:52 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-09-20 07:53:25 +0200 |
commit | 55190f88789ab62a42c3ee050090406b0bcefff8 (patch) | |
tree | 6f26ff975551bf81446249bdf37a818f43e08418 /arch/powerpc/platforms/powernv/powernv.h | |
parent | powerpc/powernv: Don't clobber r9 in relative_toc() (diff) | |
download | linux-55190f88789ab62a42c3ee050090406b0bcefff8.tar.xz linux-55190f88789ab62a42c3ee050090406b0bcefff8.zip |
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.h | 10 |
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 @@ +#ifndef _POWERNV_H +#define _POWERNV_H + +#ifdef CONFIG_SMP +extern void pnv_smp_init(void); +#else +static inline void pnv_smp_init(void) { } +#endif + +#endif /* _POWERNV_H */ |