Skip to content

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