X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=mm%2Fvmalloc.c;h=ecf91f8034bf0e8cb2c3effb63609fd3c8405cdb;hb=159d83363b629c91d020734207c1bc788b96af5a;hp=0536dde139d1e1f6f28fc93ccd05a9fc337e2c7e;hpb=060195500e0347a6ba8ea89739a9898961eb6f2b;p=~andy%2Flinux diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 0536dde139d..ecf91f8034b 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -757,7 +757,8 @@ finished: * @vma: vma to cover (map full range of vma) * @addr: vmalloc memory * @pgoff: number of pages into addr before first page to map - * @returns: 0 for success, -Exxx on failure + * + * Returns: 0 for success, -Exxx on failure * * This function checks that addr is a valid vmalloc'ed area, and * that it is big enough to cover the vma. Will return failure if @@ -820,7 +821,7 @@ void __attribute__((weak)) vmalloc_sync_all(void) } -static int f(pte_t *pte, struct page *pmd_page, unsigned long addr, void *data) +static int f(pte_t *pte, pgtable_t table, unsigned long addr, void *data) { /* apply_to_page_range() does all the hard work. */ return 0; @@ -829,7 +830,8 @@ static int f(pte_t *pte, struct page *pmd_page, unsigned long addr, void *data) /** * alloc_vm_area - allocate a range of kernel address space * @size: size of the area - * @returns: NULL on failure, vm_struct on success + * + * Returns: NULL on failure, vm_struct on success * * This function reserves a range of kernel address space, and * allocates pagetables to map that range. No actual mappings