Restore legiond compatibility with kernel 6.14.6#319
Merged
st0nie merged 1 commit intojohnfanv2:mainfrom May 21, 2025
Merged
Conversation
This restores compatibility with (at least) Linux kernel 6.14.6.
|
This patch is required to successfully build LenovoLegionLinux on Arch Linux. |
st0nie
approved these changes
May 21, 2025
Collaborator
st0nie
left a comment
There was a problem hiding this comment.
Your changes are correct, my previous parameters were irregular, and perhaps an update to the compiler or kernel headers made this code uncompilable.
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.
Linux kernel v6.14.6 (at least; possibly earlier) requires that
sigevent.sigev_notify_functionhandlers accept aunion sigvalargument. This PR adds such an argument, although it is currently unused.Maintainer feedback needed: Is that appropriate, or do we want to actually use
sigev_valuesomewhere?Fixes #318