aboutsummaryrefslogtreecommitdiff
path: root/target-arm/helper.c
diff options
context:
space:
mode:
authorChristoffer Dall <cdall@cs.columbia.edu>2013-03-05 00:34:41 +0000
committerPeter Maydell <peter.maydell@linaro.org>2013-03-05 00:45:06 +0000
commit494b00c76afb906a2d093b71c8772331c2a19a89 (patch)
tree847b92aaf409afcf150e74cde7507a53477c3cfd /target-arm/helper.c
parentf5206413affd658e2fdcf893c810d715b2c7fec6 (diff)
ARM: KVM: Add support for KVM on ARM architecture
Add basic support for KVM on ARM architecture. Signed-off-by: Christoffer Dall <cdall@cs.columbia.edu> [PMM: Minor tweaks and code cleanup, switch to ONE_REG] Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-arm/helper.c')
-rw-r--r--target-arm/helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-arm/helper.c b/target-arm/helper.c
index 7fa4ba0adc..6cad936d3e 100644
--- a/target-arm/helper.c
+++ b/target-arm/helper.c
@@ -1617,7 +1617,7 @@ uint32_t HELPER(get_r13_banked)(CPUARMState *env, uint32_t mode)
#else
/* Map CPU modes onto saved register banks. */
-static inline int bank_number(int mode)
+int bank_number(int mode)
{
switch (mode) {
case ARM_CPU_MODE_USR: