Skip to content

Redefine asm_volatile_goto, needed for 5.0 kernels#1332

Merged
gianlucaborello merged 1 commit intodevfrom
fix-asm-goto
Mar 19, 2019
Merged

Redefine asm_volatile_goto, needed for 5.0 kernels#1332
gianlucaborello merged 1 commit intodevfrom
fix-asm-goto

Conversation

@gianlucaborello
Copy link
Contributor

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

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
@gianlucaborello gianlucaborello merged commit d4ca9c9 into dev Mar 19, 2019
@gianlucaborello gianlucaborello deleted the fix-asm-goto branch March 19, 2019 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants