]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Remove three magic numbers
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 30 Jul 2007 06:41:57 +0000 (16:41 +1000)
committerAvi Kivity <avi@qumranet.com>
Sat, 13 Oct 2007 08:18:21 +0000 (10:18 +0200)
commit76867c1c66042831566fb545b9aea711ad310037
treec259f223d6815528d357b338c4915783ebc8c8ac
parentb7b1b6478b2f3c7d636c2a1be0e14e09c5cb0135
KVM: Remove three magic numbers

There are several places where hardcoded numbers are used in place of
the easily-available constant, which is poor form.

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