Simple kernel header de-duplication#29
Merged
dledford merged 4 commits intolinux-rdma:masterfrom Nov 1, 2016
Merged
Conversation
This is useful to painlessly test if the kernel headers work with the build. All the kernel header shimming is moved into buildlib/RDMA_LinuxHeaders.cmake, new headers can be added to the list. Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Detect if the distro's rdma_netlink.h is new enough, if not replace it with the built in copy, and eliminate the two loose copies of the header. The built in copy is from v4.8 Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
…b_user_sa.h Using the system header from the kernel is now the expected way to export definitions to user space. Tree wide update to shift from the local header and deal with the name changes. Unfortunately this was exposed as a public installed header, for now drop in a compat header with a #warning not to use it. Some day we can delete it. Apps are expected to also migrate to rdma/ib_user_sa.h as their source for this information. Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
…_cm.h Using the system header from the kernel is now the expected way to export definitions to user space. Unfortunately this was exposed as a public installed header, for now drop in a compat header with a #warning not to use it. Some day we can delete it. Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Start migrating to using the kernel UAPI header directly, as they exist in 4.8
These are some of the things that are easy to fix, and the basic infrastructure to do it.