]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Use a union to access the ELF file header
authorMaciej W. Rozycki <macro@imgtec.com>
Fri, 13 Nov 2015 00:46:44 +0000 (00:46 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 19 Jan 2016 23:39:20 +0000 (00:39 +0100)
commitf89fba4346defb5ac639b4bceb1a27e1b7e4943f
tree00bcf55d604be1048ac66f8da9c95fa994e28c2c
parentf931b991f7e1711ab92197399bf07a4285871c7a
MIPS: Use a union to access the ELF file header

Rewrite `arch_elf_pt_proc' and `arch_check_elf' using a union to access
the ELF file header.

Signed-off-by: Maciej W. Rozycki <macro@imgtec.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Matthew Fortune <Matthew.Fortune@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11474/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/elf.c