From: Gavin Shan Date: Fri, 24 Aug 2012 08:50:28 +0000 (+0800) Subject: KVM: PPC: book3s: fix build error caused by gfn_to_hva_memslot() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~15^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66a03505a7fcc70187319ef2318832f4d3c451a6;p=pandora-kernel.git KVM: PPC: book3s: fix build error caused by gfn_to_hva_memslot() The build error was caused by that builtin functions are calling the functions implemented in modules. This error was introduced by commit 4d8b81abc4 ("KVM: introduce readonly memslot"). The patch fixes the build error by moving function __gfn_to_hva_memslot() from kvm_main.c to kvm_host.h and making that "inline" so that the builtin function (kvmppc_h_enter) can use that. Acked-by: Paul Mackerras Signed-off-by: Gavin Shan Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed