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.

Make vm_insert_page() available to NVidia module

It used to use remap_pfn_range(), which wasn't GPL-only either, and the
new interface is actually simpler and does more checking, so we
shouldn't unnecessarily discourage people from switching over.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>

+1 -1
+1 -1
mm/memory.c
··· 1223 1223 return -EINVAL; 1224 1224 return insert_page(vma->vm_mm, addr, page, vma->vm_page_prot); 1225 1225 } 1226 - EXPORT_SYMBOL_GPL(vm_insert_page); 1226 + EXPORT_SYMBOL(vm_insert_page); 1227 1227 1228 1228 /* 1229 1229 * Somebody does a pfn remapping that doesn't actually work as a vma.