mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 15:55:02 +07:00
0c9fa29149
This makes the "OF" zImage wrapper (zImage.pseries, zImage.pmac, zImage.maple) work if booted via a flat device-tree (ePAPR boot mode), and thus potentially usable with kexec. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
10 lines
292 B
C
10 lines
292 B
C
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);
|
|
}
|