Thread (15 messages) 15 messages, 3 authors, 2019-07-19

Re: [PATCH v3 5/7] kexec_elf: remove elf_addr_to_cpu macro

flat view

From: Sven Schnelle <hidden>
Date: 2019-07-10 18:07:30
Also in: kexec

Hi Christophe,

On Wed, Jul 10, 2019 at 05:09:29PM +0200, Christophe Leroy wrote:

Le 10/07/2019 à 16:29, Sven Schnelle a écrit :
quoted
It had only one definition, so just use the function directly.
It had only one definition because it was for ppc64 only.
But as far as I understand (at least from the name of the new file), you
want it to be generic, don't you ? Therefore I get on 32 bits it would be
elf32_to_cpu().
That brings up the question whether we need those endianess conversions. I would
assume that the ELF file has always the same endianess as the running kernel. So
i think we could just drop them. What do you think?

Regards
Sven
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help