From: Jan Kiszka Date: Sun, 12 Jul 2015 08:24:00 +0000 (+0200) Subject: arm: Fix comment of switch_exception_level X-Git-Url: https://rtime.felk.cvut.cz/gitweb/jailhouse.git/commitdiff_plain/0a6383beb62de5bd93a0d23373e9b57c71a484e7 arm: Fix comment of switch_exception_level The referenced function is actually called setup_mmu_el2. Signed-off-by: Jan Kiszka --- 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) {