Ok, I see.
I'm not sure I understand how this macro is going to be used though.
If you are just using this in kernel space, that's fine, please go for
However, if the intention is to use the same macro in user space, putting
it into asm-generic/bitops/* is not going to help, because those headers
are not available in user space, and I wouldn't want to change that.
The definition of the macro is not part of the ABI, so just duplicate
it in KVM if you need it there.