summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/epapr-wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/boot/epapr-wrapper.c')
-rw-r--r--arch/powerpc/boot/epapr-wrapper.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/powerpc/boot/epapr-wrapper.c b/arch/powerpc/boot/epapr-wrapper.c
new file mode 100644
index 000000000..01262f50b
--- /dev/null
+++ b/arch/powerpc/boot/epapr-wrapper.c
@@ -0,0 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
+extern void epapr_platform_init(unsigned long r3, unsigned long r4,
+ unsigned long r5, unsigned long r6,
+ unsigned long r7);
+
+void platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
+ unsigned long r6, unsigned long r7)
+{
+ epapr_platform_init(r3, r4, r5, r6, r7);
+}