[PATCH] kexec:ppc: Fix compilation failure
Suzuki K. Poulose
suzuki at in.ibm.com
Tue Aug 23 02:10:40 EDT 2011
commit 1ea7cfd435aba0e095886db367e9616271f56c28 broke the ppc build as it removes
the declaration for two variables in use by the elf_ppc_load(). This patch reverts
the particular hunk.
Signed-off-by: Suzuki K. Poulose <suzuki at in.ibm.com>
Reported-by: Josh Boyer <jwboyer at gmail.com>
---
kexec/arch/ppc/kexec-elf-ppc.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/kexec/arch/ppc/kexec-elf-ppc.c b/kexec/arch/ppc/kexec-elf-ppc.c
index 39f1833..314eb1e 100644
--- a/kexec/arch/ppc/kexec-elf-ppc.c
+++ b/kexec/arch/ppc/kexec-elf-ppc.c
@@ -187,6 +187,8 @@ int elf_ppc_load(int argc, char **argv, const char *buf, off_t len,
char *fixup_nodes[FIXUP_ENTRYS + 1];
int cur_fixup = 0;
int opt;
+ char *blob_buf = NULL;
+ off_t blob_size = 0;
command_line = NULL;
dtb = NULL;
More information about the kexec
mailing list