Redefine asm_volatile_goto, needed for 5.0 kernels #1332
Merged
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.
This is inspired by an old fix I did [1] that never resulted necessary [2]
since it was fixed on the kernel side prior to making a sysdig release.
It seems like the kernel now converged towards my same hack [3], so
reintroduce it here as well.
I'm also not filtering for specific LINUX_VERSION_CODE since some of this
new asm_volatile_goto usages might be backported into some stable releases,
and it really doesn't hurt having it unconditionally enabled.
[1] 2958eb1
[2] 9436cf2
[3] torvalds/linux@6bf3bbe