From: Eduardo Habkost Date: Mon, 17 Nov 2008 21:03:20 +0000 (-0200) Subject: KVM: SVM: move has_svm() code to asm/virtext.h X-Git-Tag: v2.6.29-rc1~539^2~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63d1142f8f69e39468bc6079ab2239e902828134;p=pandora-kernel.git 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 Signed-off-by: Avi Kivity --- Reading git-diff-tree failed