Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x86: Add 'l' suffix to btr/bts instructions #224

Merged
merged 3 commits into from
Nov 9, 2021

Conversation

cjams
Copy link
Contributor

@cjams cjams commented Nov 2, 2021

Add an explicit suffix to the btr/bts instructions within
atomic_test_and_{re,}set_bit. This addition silences the
following assembler warnings:

ktf/include/arch/x86/atomic.h:62: Warning: no instruction mnemonic suffix given and no register operands; using default for bts' ktf/include/arch/x86/atomic.h:74: Warning: no instruction mnemonic suffix given and no register operands; using default for btr'

Signed-off-by: Connor Davis [email protected]

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Add an explicit suffix to the btr/bts instructions within
atomic_test_and_{re,}set_bit. This addition silences the
following assembler warnings:

ktf/include/arch/x86/atomic.h:62: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
ktf/include/arch/x86/atomic.h:74: Warning: no instruction mnemonic suffix given and no register operands; using default for `btr'

Signed-off-by: Connor Davis <[email protected]>
@82marbag 82marbag requested a review from a team as a code owner November 9, 2021 16:15
@82marbag 82marbag merged commit 5902578 into KernelTestFramework:mainline Nov 9, 2021
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.

3 participants