-
Notifications
You must be signed in to change notification settings - Fork 54.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
uapi: export all headers under uapi directories
Regularly, when a new header is created in include/uapi/, the developer forgets to add it in the corresponding Kbuild file. This error is usually detected after the release is out. In fact, all headers under uapi directories should be exported, thus it's useless to have an exhaustive list. After this patch, the following files, which were not exported, are now exported (with make headers_install_all): asm-arc/kvm_para.h asm-arc/ucontext.h asm-blackfin/shmparam.h asm-blackfin/ucontext.h asm-c6x/shmparam.h asm-c6x/ucontext.h asm-cris/kvm_para.h asm-h8300/shmparam.h asm-h8300/ucontext.h asm-hexagon/shmparam.h asm-m32r/kvm_para.h asm-m68k/kvm_para.h asm-m68k/shmparam.h asm-metag/kvm_para.h asm-metag/shmparam.h asm-metag/ucontext.h asm-mips/hwcap.h asm-mips/reg.h asm-mips/ucontext.h asm-nios2/kvm_para.h asm-nios2/ucontext.h asm-openrisc/shmparam.h asm-parisc/kvm_para.h asm-powerpc/perf_regs.h asm-sh/kvm_para.h asm-sh/ucontext.h asm-tile/shmparam.h asm-unicore32/shmparam.h asm-unicore32/ucontext.h asm-x86/hwcap2.h asm-xtensa/kvm_para.h drm/armada_drm.h drm/etnaviv_drm.h drm/vgem_drm.h linux/aspeed-lpc-ctrl.h linux/auto_dev-ioctl.h linux/bcache.h linux/btrfs_tree.h linux/can/vxcan.h linux/cifs/cifs_mount.h linux/coresight-stm.h linux/cryptouser.h linux/fsmap.h linux/genwqe/genwqe_card.h linux/hash_info.h linux/kcm.h linux/kcov.h linux/kfd_ioctl.h linux/lightnvm.h linux/module.h linux/nbd-netlink.h linux/nilfs2_api.h linux/nilfs2_ondisk.h linux/nsfs.h linux/pr.h linux/qrtr.h linux/rpmsg.h linux/sched/types.h linux/sed-opal.h linux/smc.h linux/smc_diag.h linux/stm.h linux/switchtec_ioctl.h linux/vfio_ccw.h linux/wil6210_uapi.h rdma/bnxt_re-abi.h Note that I have removed from this list the files which are generated in every exported directories (like .install or .install.cmd). Thanks to Julien Floret <julien.floret@6wind.com> for the tip to get all subdirs with a pure makefile command. For the record, note that exported files for asm directories are a mix of files listed by: - include/uapi/asm-generic/Kbuild.asm; - arch/<arch>/include/uapi/asm/Kbuild; - arch/<arch>/include/asm/Kbuild. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Acked-by: Russell King <rmk+kernel@armlinux.org.uk> Acked-by: Mark Salter <msalter@redhat.com> Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc) Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
- Loading branch information
1 parent
ea6819e
commit fcc8487
Showing
80 changed files
with
111 additions
and
1,750 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,2 @@ | ||
# UAPI Header export list | ||
include include/uapi/asm-generic/Kbuild.asm | ||
|
||
header-y += a.out.h | ||
header-y += auxvec.h | ||
header-y += bitsperlong.h | ||
header-y += byteorder.h | ||
header-y += compiler.h | ||
header-y += console.h | ||
header-y += errno.h | ||
header-y += fcntl.h | ||
header-y += fpu.h | ||
header-y += gentrap.h | ||
header-y += ioctl.h | ||
header-y += ioctls.h | ||
header-y += ipcbuf.h | ||
header-y += kvm_para.h | ||
header-y += mman.h | ||
header-y += msgbuf.h | ||
header-y += pal.h | ||
header-y += param.h | ||
header-y += poll.h | ||
header-y += posix_types.h | ||
header-y += ptrace.h | ||
header-y += reg.h | ||
header-y += regdef.h | ||
header-y += resource.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 += stat.h | ||
header-y += statfs.h | ||
header-y += swab.h | ||
header-y += sysinfo.h | ||
header-y += termbits.h | ||
header-y += termios.h | ||
header-y += types.h | ||
header-y += unistd.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
# UAPI Header export list | ||
include include/uapi/asm-generic/Kbuild.asm | ||
header-y += elf.h | ||
header-y += page.h | ||
header-y += cachectl.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,6 @@ | ||
# UAPI Header export list | ||
include include/uapi/asm-generic/Kbuild.asm | ||
|
||
header-y += auxvec.h | ||
header-y += byteorder.h | ||
header-y += fcntl.h | ||
header-y += hwcap.h | ||
header-y += ioctls.h | ||
header-y += kvm_para.h | ||
header-y += mman.h | ||
header-y += perf_regs.h | ||
header-y += posix_types.h | ||
header-y += ptrace.h | ||
header-y += setup.h | ||
header-y += sigcontext.h | ||
header-y += signal.h | ||
header-y += stat.h | ||
header-y += statfs.h | ||
header-y += swab.h | ||
header-y += unistd.h | ||
genhdr-y += unistd-common.h | ||
genhdr-y += unistd-oabi.h | ||
genhdr-y += unistd-eabi.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,2 @@ | ||
# UAPI Header export list | ||
include include/uapi/asm-generic/Kbuild.asm | ||
|
||
header-y += bfin_sport.h | ||
header-y += byteorder.h | ||
header-y += cachectl.h | ||
header-y += fcntl.h | ||
header-y += fixed_code.h | ||
header-y += ioctls.h | ||
header-y += kvm_para.h | ||
header-y += poll.h | ||
header-y += posix_types.h | ||
header-y += ptrace.h | ||
header-y += sigcontext.h | ||
header-y += siginfo.h | ||
header-y += signal.h | ||
header-y += stat.h | ||
header-y += swab.h | ||
header-y += unistd.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,5 @@ | ||
# UAPI Header export list | ||
include include/uapi/asm-generic/Kbuild.asm | ||
|
||
header-y += ../arch-v10/arch/ | ||
header-y += ../arch-v32/arch/ | ||
header-y += auxvec.h | ||
header-y += bitsperlong.h | ||
header-y += byteorder.h | ||
header-y += elf.h | ||
header-y += elf_v10.h | ||
header-y += elf_v32.h | ||
header-y += errno.h | ||
header-y += ethernet.h | ||
header-y += etraxgpio.h | ||
header-y += fcntl.h | ||
header-y += ioctl.h | ||
header-y += ioctls.h | ||
header-y += ipcbuf.h | ||
header-y += mman.h | ||
header-y += msgbuf.h | ||
header-y += param.h | ||
header-y += poll.h | ||
header-y += posix_types.h | ||
header-y += ptrace.h | ||
header-y += ptrace_v10.h | ||
header-y += ptrace_v32.h | ||
header-y += resource.h | ||
header-y += rs485.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 += stat.h | ||
header-y += statfs.h | ||
header-y += swab.h | ||
header-y += sync_serial.h | ||
header-y += termbits.h | ||
header-y += termios.h | ||
header-y += types.h | ||
header-y += unistd.h | ||
subdir-y += ../arch-v10/arch/ | ||
subdir-y += ../arch-v32/arch/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,2 @@ | ||
# UAPI Header export list | ||
include include/uapi/asm-generic/Kbuild.asm | ||
|
||
header-y += auxvec.h | ||
header-y += bitsperlong.h | ||
header-y += byteorder.h | ||
header-y += errno.h | ||
header-y += fcntl.h | ||
header-y += ioctl.h | ||
header-y += ioctls.h | ||
header-y += ipcbuf.h | ||
header-y += kvm_para.h | ||
header-y += mman.h | ||
header-y += msgbuf.h | ||
header-y += param.h | ||
header-y += poll.h | ||
header-y += posix_types.h | ||
header-y += ptrace.h | ||
header-y += registers.h | ||
header-y += resource.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 += stat.h | ||
header-y += statfs.h | ||
header-y += swab.h | ||
header-y += termbits.h | ||
header-y += termios.h | ||
header-y += types.h | ||
header-y += unistd.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,2 @@ | ||
# UAPI Header export list | ||
include include/uapi/asm-generic/Kbuild.asm | ||
|
||
header-y += auxvec.h | ||
header-y += bitsperlong.h | ||
header-y += errno.h | ||
header-y += fcntl.h | ||
header-y += ioctl.h | ||
header-y += ioctls.h | ||
header-y += ipcbuf.h | ||
header-y += kvm_para.h | ||
header-y += mman.h | ||
header-y += msgbuf.h | ||
header-y += param.h | ||
header-y += poll.h | ||
header-y += posix_types.h | ||
header-y += resource.h | ||
header-y += sembuf.h | ||
header-y += setup.h | ||
header-y += shmbuf.h | ||
header-y += siginfo.h | ||
header-y += socket.h | ||
header-y += sockios.h | ||
header-y += stat.h | ||
header-y += statfs.h | ||
header-y += swab.h | ||
header-y += termbits.h | ||
header-y += termios.h | ||
header-y += types.h | ||
header-y += unistd.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
|
||
header-y += ucontext.h | ||
|
||
generic-y += auxvec.h | ||
generic-y += barrier.h | ||
generic-y += bug.h | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,2 @@ | ||
# UAPI Header export list | ||
include include/uapi/asm-generic/Kbuild.asm | ||
|
||
header-y += bitsperlong.h | ||
header-y += byteorder.h | ||
header-y += kvm_para.h | ||
header-y += param.h | ||
header-y += ptrace.h | ||
header-y += registers.h | ||
header-y += setup.h | ||
header-y += sigcontext.h | ||
header-y += signal.h | ||
header-y += swab.h | ||
header-y += unistd.h | ||
header-y += user.h |
Oops, something went wrong.