KVM: Trivial: Use standard BITMAP macros, open-code userspace-exposed header
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 18 Jul 2007 03:05:58 +0000 (13:05 +1000)
committerAvi Kivity <avi@qumranet.com>
Sat, 13 Oct 2007 08:18:18 +0000 (10:18 +0200)
commit9eb829ced8c6f2e43a3a644ddf1279ffeee38a33
treeea8360405de41110dd0063a9838447c5a7ab2632
parent66aee91aaab8f998d28a61ed7733be17ad8e6d8f
KVM: Trivial: Use standard BITMAP macros, open-code userspace-exposed header

Creating one's own BITMAP macro seems suboptimal: if we use manual
arithmetic in the one place exposed to userspace, we can use standard
macros elsewhere.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm.h
drivers/kvm/kvm_main.c
include/linux/kvm.h