Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

CRIS: UAPI: fix elf.h export

CRIS userspace (uClibc for one) expects asm/elf.h to be exported but
this header appears to have gone missing at some point. Move it to
uapi/ and export it.

Signed-off-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>

authored by

Rabin Vincent and committed by
Jesper Nilsson
2493d3e2 3a79a075

+8 -1
arch/cris/include/arch-v10/arch/elf.h arch/cris/include/uapi/asm/elf_v10.h
arch/cris/include/arch-v32/arch/elf.h arch/cris/include/uapi/asm/elf_v32.h
+5 -1
arch/cris/include/asm/elf.h arch/cris/include/uapi/asm/elf.h
··· 5 5 * ELF register definitions.. 6 6 */ 7 7 8 - #include <arch/elf.h> 8 + #ifdef __arch_v32 9 + #include <asm/elf_v32.h> 10 + #else 11 + #include <asm/elf_v10.h> 12 + #endif 9 13 10 14 #define R_CRIS_NONE 0 11 15 #define R_CRIS_8 1
+3
arch/cris/include/uapi/asm/Kbuild
··· 6 6 header-y += auxvec.h 7 7 header-y += bitsperlong.h 8 8 header-y += byteorder.h 9 + header-y += elf.h 10 + header-y += elf_v10.h 11 + header-y += elf_v32.h 9 12 header-y += errno.h 10 13 header-y += ethernet.h 11 14 header-y += etraxgpio.h