]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/powerpc/boot/epapr-wrapper.c
powerpc/zImage: make the "OF" wrapper support ePAPR boot
[karo-tx-linux.git] / arch / powerpc / boot / epapr-wrapper.c
diff --git a/arch/powerpc/boot/epapr-wrapper.c b/arch/powerpc/boot/epapr-wrapper.c
new file mode 100644 (file)
index 0000000..c101910
--- /dev/null
@@ -0,0 +1,9 @@
+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);
+}