From: Heiko Carstens Date: Mon, 17 Jan 2011 20:21:08 +0000 (+0100) Subject: KVM: fix build warning within __kvm_set_memory_region() on s390 X-Git-Tag: v2.6.39-rc1~436^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d48ead8b0b48862a87138d04efb7580a1a25beb5;p=pandora-kernel.git KVM: fix build warning within __kvm_set_memory_region() on s390 Get rid of this warning: CC arch/s390/kvm/../../../virt/kvm/kvm_main.o arch/s390/kvm/../../../virt/kvm/kvm_main.c:596:12: warning: 'kvm_create_dirty_bitmap' defined but not used The only caller of the function is within a !CONFIG_S390 section, so add the same ifdef around kvm_create_dirty_bitmap() as well. Signed-off-by: Heiko Carstens Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed