From 0a6383beb62de5bd93a0d23373e9b57c71a484e7 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Sun, 12 Jul 2015 10:24:00 +0200 Subject: [PATCH] arm: Fix comment of switch_exception_level The referenced function is actually called setup_mmu_el2. Signed-off-by: Jan Kiszka --- hypervisor/arch/arm/mmu_hyp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hypervisor/arch/arm/mmu_hyp.c b/hypervisor/arch/arm/mmu_hyp.c index c9c18ed..99b5fa5 100644 --- a/hypervisor/arch/arm/mmu_hyp.c +++ b/hypervisor/arch/arm/mmu_hyp.c @@ -237,8 +237,8 @@ static void check_mmu_map(unsigned long virt_addr, unsigned long phys_addr) * Jumping to EL2 in the same C code represents an interesting challenge, since * it will switch from virtual addresses to physical ones, and then back to * virtual after setting up the EL2 MMU. - * To this end, the setup_mmu and cpu_switch_el2 functions are naked and must - * handle the stack themselves. + * To this end, the setup_mmu_el2 and cpu_switch_el2 functions are naked and + * must handle the stack themselves. */ int switch_exception_level(struct per_cpu *cpu_data) { -- 2.39.2