From: Paolo Bonzini Date: Thu, 2 Apr 2015 09:20:48 +0000 (+0200) Subject: KVM: export __gfn_to_pfn_memslot, drop gfn_to_pfn_async X-Git-Tag: omap-for-v4.2/fixes-rc1^2~138^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3520469d65f26a1cd2f610f5d5de976f78db74fe;p=pandora-kernel.git KVM: export __gfn_to_pfn_memslot, drop gfn_to_pfn_async gfn_to_pfn_async is used in just one place, and because of x86-specific treatment that place will need to look at the memory slot. Hence inline it into try_async_pf and export __gfn_to_pfn_memslot. The patch also switches the subsequent call to gfn_to_pfn_prot to use __gfn_to_pfn_memslot. This is a small optimization. Finally, remove the now-unused async argument of __gfn_to_pfn. Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed