]> rtime.felk.cvut.cz Git - jailhouse.git/commitdiff
arm: Fix comment of switch_exception_level
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 12 Jul 2015 08:24:00 +0000 (10:24 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Tue, 14 Jul 2015 05:37:36 +0000 (07:37 +0200)
The referenced function is actually called setup_mmu_el2.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/arm/mmu_hyp.c

index c9c18edfcae08655b3f96f1e90e68298d964bbad..99b5fa51be6514c5f78b041d27186549480db3c6 100644 (file)
@@ -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)
 {