Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mm: add nommu variant of vm_insert_pages()

An identical one exists for vm_insert_page(), add one for
vm_insert_pages() to avoid needing to check for CONFIG_MMU in code using
it.

Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>

+7
+7
mm/nommu.c
··· 355 355 } 356 356 EXPORT_SYMBOL(vm_insert_page); 357 357 358 + int vm_insert_pages(struct vm_area_struct *vma, unsigned long addr, 359 + struct page **pages, unsigned long *num) 360 + { 361 + return -EINVAL; 362 + } 363 + EXPORT_SYMBOL(vm_insert_pages); 364 + 358 365 int vm_map_pages(struct vm_area_struct *vma, struct page **pages, 359 366 unsigned long num) 360 367 {