diff options
-rw-r--r-- | arch/x86/machine/pmap.c | 2 | ||||
-rw-r--r-- | arch/x86/machine/pmap.h | 10 | ||||
-rw-r--r-- | vm/vm_kmem.c | 2 | ||||
-rw-r--r-- | vm/vm_map.c | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/arch/x86/machine/pmap.c b/arch/x86/machine/pmap.c index 9da90653..556e3cbb 100644 --- a/arch/x86/machine/pmap.c +++ b/arch/x86/machine/pmap.c @@ -400,7 +400,7 @@ pmap_zero_page(phys_addr_t pa) } void -pmap_growkernel(unsigned long va) +pmap_kgrow(unsigned long va) { const struct pmap_pt_level *pt_level; struct vm_page *page; diff --git a/arch/x86/machine/pmap.h b/arch/x86/machine/pmap.h index 3aa75a68..df6a7e86 100644 --- a/arch/x86/machine/pmap.h +++ b/arch/x86/machine/pmap.h @@ -153,7 +153,7 @@ unsigned long pmap_bootalloc(unsigned int nr_pages); /* * Return the address below which using the kernel pmap functions is safe. * - * Its value is adjusted by calling pmap_growkernel(). + * Its value is adjusted by calling pmap_kgrow(). */ unsigned long pmap_klimit(void); @@ -164,15 +164,15 @@ unsigned long pmap_klimit(void); * This function should only be called by the VM system, which makes sure it's * not called concurrently. */ -void pmap_growkernel(unsigned long va); +void pmap_kgrow(unsigned long va); /* * Kernel pmap functions. * * These functions assume the caller owns the addresses and don't grab any - * lock. Resources for the new mappings must be preallocated with - * pmap_growkernel(). The TLB isn't flushed, the caller must use pmap_kupdate() - * to explicitely require TLB flushing. + * lock. Resources for the new mappings must be preallocated with pmap_kgrow(). + * The TLB isn't flushed, the caller must use pmap_kupdate() to explicitely + * require TLB flushing. */ void pmap_kenter(unsigned long va, phys_addr_t pa); void pmap_kremove(unsigned long start, unsigned long end); diff --git a/vm/vm_kmem.c b/vm/vm_kmem.c index fae3287a..bbc82a03 100644 --- a/vm/vm_kmem.c +++ b/vm/vm_kmem.c @@ -63,7 +63,7 @@ vm_kmem_bootalloc(size_t size) vm_kmem_boot_start += size; if (pmap_klimit() < vm_kmem_boot_start) - pmap_growkernel(vm_kmem_boot_start); + pmap_kgrow(vm_kmem_boot_start); for (va = start; va < vm_kmem_boot_start; va += PAGE_SIZE) { pa = vm_phys_bootalloc(); diff --git a/vm/vm_map.c b/vm/vm_map.c index 814a8760..1ff052fc 100644 --- a/vm/vm_map.c +++ b/vm/vm_map.c @@ -769,7 +769,7 @@ out: map->size += request->size; if ((map == kernel_map) && (pmap_klimit() < entry->end)) - pmap_growkernel(entry->end); + pmap_kgrow(entry->end); return 0; } |