diff options
author | David Gibson | 2011-04-08 12:08:25 +0200 |
---|---|---|
committer | Alexander Graf | 2011-04-08 12:20:08 +0200 |
commit | 6957785773e8a3cc8bd51f0e3172eaccbbaa5f3a (patch) | |
tree | 1f4205530bc626a5e76db236e339a1fe512d0b22 /.gitmodules | |
parent | Use existing helper function to implement popcntd instruction (diff) | |
download | qemu-6957785773e8a3cc8bd51f0e3172eaccbbaa5f3a.tar.gz qemu-6957785773e8a3cc8bd51f0e3172eaccbbaa5f3a.tar.xz qemu-6957785773e8a3cc8bd51f0e3172eaccbbaa5f3a.zip |
ppce500_mpc8544ds: Fix compile with --enable-debug and --disable-kvm
When configured with --enable-debug, we compile without optimization.
This means that the function mpc8544_copy_soc_cell() in ppce500_mpc8544ds.c
is not optimized out, even though it is never called without kvm. That in
turn causes a link failure, because it calls the function
kvmppc_read_host_property() which is in kvm_ppc.o and therefore not
included in a --disable-kvm build.
This patch fixes the problem by providing a dummy stub for
kvmppc_read_host_property() in kvm_ppc.h when !CONFIG_KVM.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions