forked from pool/kexec-tools
18 lines
539 B
Diff
18 lines
539 B
Diff
---
|
|
kexec/arch/ppc64/fs2dt.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
Index: kexec/arch/ppc64/fs2dt.c
|
|
===================================================================
|
|
--- kexec/arch/ppc64/fs2dt.c.orig
|
|
+++ kexec/arch/ppc64/fs2dt.c
|
|
@@ -270,6 +270,8 @@ static void putprops(char *fn, struct di
|
|
strcat(local_cmdline, " ");
|
|
cmd_len = strlen(local_cmdline);
|
|
cmd_len = cmd_len + 1;
|
|
+ if ((cmd_len >= 8) && ((unsigned long)dt & 0x4))
|
|
+ dt++;
|
|
memcpy(dt, local_cmdline,cmd_len);
|
|
len = cmd_len;
|
|
*dt_len = cmd_len;
|