Message ID | 20190715082702.27308-5-svens@stackframe.org (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | kexec: add generic support for elf kernel images | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | success | Successfully applied on branch next (f5c20693d8edcd665f1159dc941b9e7f87c17647) |
snowpatch_ozlabs/checkpatch | success | total: 0 errors, 0 warnings, 0 checks, 8 lines checked |
Sven Schnelle <svens@stackframe.org> writes: > It's not used anywhere so just drop it. > > Signed-off-by: Sven Schnelle <svens@stackframe.org> > --- > kernel/kexec_elf.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/kernel/kexec_elf.c b/kernel/kexec_elf.c > index effe9dc0b055..70d31b8feeae 100644 > --- a/kernel/kexec_elf.c > +++ b/kernel/kexec_elf.c > @@ -8,8 +8,6 @@ > #include <linux/slab.h> > #include <linux/types.h> > > -#define PURGATORY_STACK_SIZE (16 * 1024) > - > #define elf_addr_to_cpu elf64_to_cpu > > #ifndef Elf_Rel Can you remove it from the file in arch/powerpc as well?
Thiago Jung Bauermann <bauerman@linux.ibm.com> writes: > Sven Schnelle <svens@stackframe.org> writes: > >> It's not used anywhere so just drop it. >> >> Signed-off-by: Sven Schnelle <svens@stackframe.org> >> --- >> kernel/kexec_elf.c | 2 -- >> 1 file changed, 2 deletions(-) >> >> diff --git a/kernel/kexec_elf.c b/kernel/kexec_elf.c >> index effe9dc0b055..70d31b8feeae 100644 >> --- a/kernel/kexec_elf.c >> +++ b/kernel/kexec_elf.c >> @@ -8,8 +8,6 @@ >> #include <linux/slab.h> >> #include <linux/types.h> >> >> -#define PURGATORY_STACK_SIZE (16 * 1024) >> - >> #define elf_addr_to_cpu elf64_to_cpu >> >> #ifndef Elf_Rel > > Can you remove it from the file in arch/powerpc as well? Sorry, forgot to add: Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
diff --git a/kernel/kexec_elf.c b/kernel/kexec_elf.c index effe9dc0b055..70d31b8feeae 100644 --- a/kernel/kexec_elf.c +++ b/kernel/kexec_elf.c @@ -8,8 +8,6 @@ #include <linux/slab.h> #include <linux/types.h> -#define PURGATORY_STACK_SIZE (16 * 1024) - #define elf_addr_to_cpu elf64_to_cpu #ifndef Elf_Rel
It's not used anywhere so just drop it. Signed-off-by: Sven Schnelle <svens@stackframe.org> --- kernel/kexec_elf.c | 2 -- 1 file changed, 2 deletions(-)