]> rtime.felk.cvut.cz Git - jailhouse.git/commitdiff
x86: Rename i386_get_next_pt_l2 to i386_get_next_pt
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 28 Feb 2016 19:47:41 +0000 (20:47 +0100)
committerJan Kiszka <jan.kiszka@siemens.com>
Mon, 7 Mar 2016 12:49:05 +0000 (13:49 +0100)
There are no handlers for other levels.

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

index d1f57486c500b044a7033c8b7c371c0abb5c05a8..56ae244e108b70471b2d95900c72bb67137e4b26 100644 (file)
@@ -203,7 +203,7 @@ static unsigned long i386_get_phys_l1(pt_entry_t pte, unsigned long virt)
                      (virt & 0x00000fff);
 }
 
-static unsigned long i386_get_next_pt_l2(pt_entry_t pte)
+static unsigned long i386_get_next_pt(pt_entry_t pte)
 {
        return *(u32 *)pte & 0xfffff000UL;
 }
@@ -215,7 +215,7 @@ const struct paging i386_paging[] = {
                .entry_valid    = i386_entry_valid,
                .get_entry      = i386_get_entry_l2,
                .get_phys       = i386_get_phys_l2,
-               .get_next_pt    = i386_get_next_pt_l2,
+               .get_next_pt    = i386_get_next_pt,
        },
        {
                .page_size      = PAGE_SIZE,