Re: [PATCH] KVM: fix build warning within __kvm_set_memory_region() on s390

Marcelo Tosatti
2011-01-20T22:24:21Z

On Mon, Jan 17, 2011 at 09:21:08PM +0100, Heiko Carstens wrote:
> From: Heiko Carstens <heiko.carstens@de.ibm.com>
>
> 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 <heiko.carstens@de.ibm.com>

Applied, thanks.