projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dee99b
)
KVM: MIPS/Emulate: Drop CACHE emulation for VZ
author
James Hogan
<
[email protected]
>
Tue, 14 Mar 2017 10:15:29 +0000
(10:15 +0000)
committer
James Hogan
<
[email protected]
>
Tue, 28 Mar 2017 13:53:53 +0000
(14:53 +0100)
Ifdef out the trap & emulate CACHE instruction emulation functions for
VZ. We will provide separate CACHE instruction emulation in vz.c, and we
need to avoid linker errors due to the use of T&E specific MMU helpers.
Signed-off-by: James Hogan <
[email protected]
>
Cc: Paolo Bonzini <
[email protected]
>
Cc: "Radim Krčmář" <
[email protected]
>
Cc: Ralf Baechle <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
arch/mips/kvm/emulate.c
patch
|
blob
|
history
diff --git
a/arch/mips/kvm/emulate.c
b/arch/mips/kvm/emulate.c
index 42424822898c45b10a18ed06a9d4f5ece4f624c3..bb0449296cd621c380ac63f2db4e21c4a18e08fc 100644
(file)
--- a/
arch/mips/kvm/emulate.c
+++ b/
arch/mips/kvm/emulate.c
@@
-1665,6
+1665,7
@@
enum emulation_result kvm_mips_emulate_load(union mips_instruction inst,
return EMULATE_DO_MMIO;
}
+#ifndef CONFIG_KVM_MIPS_VZ
static enum emulation_result kvm_mips_guest_cache_op(int (*fn)(unsigned long),
unsigned long curr_pc,
unsigned long addr,
@@
-1872,6
+1873,7
@@
unknown:
return er;
}
+#endif /* CONFIG_KVM_MIPS_VZ */
/**
* kvm_mips_guest_exception_base() - Find guest exception vector base address.