Thread (18 messages) 18 messages, 2 authors, 2019-08-21

Re: [PATCH v4 5/7] kexec_elf: remove Elf_Rel macro

flat view

From: Thiago Jung Bauermann <hidden>
Date: 2019-08-21 01:07:24
Also in: kexec

Sven Schnelle [off-list ref] writes:
quoted hunk ↗ jump to hunk
It wasn't used anywhere, so lets drop it.

Reviewed-by: Christophe Leroy <redacted>
Signed-off-by: Sven Schnelle <redacted>
---
 kernel/kexec_elf.c | 4 ----
 1 file changed, 4 deletions(-)
diff --git a/kernel/kexec_elf.c b/kernel/kexec_elf.c
index 70d31b8feeae..e346659af324 100644
--- a/kernel/kexec_elf.c
+++ b/kernel/kexec_elf.c
@@ -10,10 +10,6 @@

 #define elf_addr_to_cpu	elf64_to_cpu

-#ifndef Elf_Rel
-#define Elf_Rel		Elf64_Rel
-#endif /* Elf_Rel */
-
 static inline bool elf_is_elf_file(const struct elfhdr *ehdr)
 {
 	return memcmp(ehdr->e_ident, ELFMAG, SELFMAG) == 0;
Could you remove this one from the file in arch/powerpc as well? Perhaps
this and the previous patch could be placed before patch 1, so that this
change can be done only once.

In any case:

Reviewed-by: Thiago Jung Bauermann <redacted>

--
Thiago Jung Bauermann
IBM Linux Technology Center
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help