commit | 63d1142f8f69e39468bc6079ab2239e902828134 | [log] [tgz] |
---|---|---|
author | Eduardo Habkost <ehabkost@redhat.com> | Mon Nov 17 19:03:20 2008 -0200 |
committer | Avi Kivity <avi@redhat.com> | Wed Dec 31 16:52:29 2008 +0200 |
tree | 1f6b12fca77403b7ee3323b2ef18ef53e5593094 | |
parent | 6aa07a0d77f6aafbe69e4e8609ffaf2b7ee1b591 [diff] |
KVM: SVM: move has_svm() code to asm/virtext.h Use a trick to keep the printk()s on has_svm() working as before. gcc will take care of not generating code for the 'msg' stuff when the function is called with a NULL msg argument. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>