]> err.no Git - linux-2.6/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)
commit3077c4513c46f66537c1205acc464e49c9847dc0
treec259f223d6815528d357b338c4915783ebc8c8ac
parent8b9cf98cc7ea7354d6d4cbc4ffdb18a26a1129d3
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