mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-19 11:23:11 +00:00

The arch/powerpc/include/asm/linkage.h is being unintentionally exported in the kernel headers since commit e1b5bb6d1236 (consolidate cond_syscall and SYSCALL_ALIAS declarations) when arch/powerpc/include/uapi/asm/linkage.h was deleted but the header-y not removed from the Kbuild file. This happens because Makefile.headersinst still checks the old asm/ directory if the specified header doesn't exist in the uapi directory. The asm/linkage.h shouldn't ever have been exported anyway. No other arch does and it doesn't contain anything useful to userland, so remove the header-y line from the Kbuild file which triggers the export. Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Cc: linuxppc-dev@lists.ozlabs.org Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: David Woodhouse <dwmw2@infradead.org> Cc: David Howells <dhowells@redhat.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
47 lines
990 B
Makefile
47 lines
990 B
Makefile
# UAPI Header export list
|
|
include include/uapi/asm-generic/Kbuild.asm
|
|
|
|
header-y += auxvec.h
|
|
header-y += bitsperlong.h
|
|
header-y += bootx.h
|
|
header-y += byteorder.h
|
|
header-y += cputable.h
|
|
header-y += elf.h
|
|
header-y += epapr_hcalls.h
|
|
header-y += errno.h
|
|
header-y += fcntl.h
|
|
header-y += ioctl.h
|
|
header-y += ioctls.h
|
|
header-y += ipcbuf.h
|
|
header-y += kvm.h
|
|
header-y += kvm_para.h
|
|
header-y += mman.h
|
|
header-y += msgbuf.h
|
|
header-y += nvram.h
|
|
header-y += param.h
|
|
header-y += perf_event.h
|
|
header-y += poll.h
|
|
header-y += posix_types.h
|
|
header-y += ps3fb.h
|
|
header-y += ptrace.h
|
|
header-y += resource.h
|
|
header-y += seccomp.h
|
|
header-y += sembuf.h
|
|
header-y += setup.h
|
|
header-y += shmbuf.h
|
|
header-y += sigcontext.h
|
|
header-y += siginfo.h
|
|
header-y += signal.h
|
|
header-y += socket.h
|
|
header-y += sockios.h
|
|
header-y += spu_info.h
|
|
header-y += stat.h
|
|
header-y += statfs.h
|
|
header-y += swab.h
|
|
header-y += termbits.h
|
|
header-y += termios.h
|
|
header-y += tm.h
|
|
header-y += types.h
|
|
header-y += ucontext.h
|
|
header-y += unistd.h
|