Make vm_insert_page() available to NVidia module
authorLinus Torvalds <torvalds@g5.osdl.org>
Sun, 4 Dec 2005 04:48:11 +0000 (20:48 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 4 Dec 2005 04:48:11 +0000 (20:48 -0800)
commite3c3374fbf7efe9487edc53cd10436ed641983aa
tree316a9e9ea22c49de5bef8af6a4b4557353f7d36a
parent0ceaacc9785fedc500e19b024d606a82a23f5372
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>
mm/memory.c