summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaren Myneni <haren@us.ibm.com>2006-07-27 14:34:23 -0600
committerEric W. Biederman <ebiederm@xmission.com>2006-07-27 14:34:23 -0600
commit8e8a420da9b6027f1aac38f7484b0b789df8c734 (patch)
tree101e9cffe4eee4c23a3514512b914731cced5e5c
parent4fcca750c790b5e012c59fae0e241edd74ab307c (diff)
ppc64 initrd option
Mohan Kumar M wrote: >Hi Haren, > >In one of the mails you have mentioned that you have a patch to support >--initrd option for ppc64 kexec tools. > >Can you please send the patch to us so that it can be included in the >next consolidated kdump (kdump7) patch and posted to lse website? > >Regards, >Mohan. > > > > Mohan, It is a simple fix - just alias to RAMDISK. Signed-off-by: Maneesh Soni <maneesh@in.ibm.com>
-rw-r--r--kexec/arch/ppc64/kexec-elf-ppc64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kexec/arch/ppc64/kexec-elf-ppc64.c b/kexec/arch/ppc64/kexec-elf-ppc64.c
index 561d5b6..7a22683 100644
--- a/kexec/arch/ppc64/kexec-elf-ppc64.c
+++ b/kexec/arch/ppc64/kexec-elf-ppc64.c
@@ -100,6 +100,7 @@ int elf_ppc64_load(int argc, char **argv, const char *buf, off_t len,
{ "command-line", 1, NULL, OPT_APPEND },
{ "append", 1, NULL, OPT_APPEND },
{ "ramdisk", 1, NULL, OPT_RAMDISK },
+ { "initrd", 1, NULL, OPT_RAMDISK },
{ "devicetreeblob", 1, NULL, OPT_DEVICETREEBLOB },
{ "args-linux", 0, NULL, OPT_ARGS_IGNORE },
{ 0, 0, NULL, 0 },