]> git.baikalelectronics.ru Git - kernel.git/commit
NOMMU: Stub out vm_get_page_prot() if there's no MMU
authorDavid Howells <dhowells@redhat.com>
Thu, 26 Aug 2010 15:00:34 +0000 (16:00 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 28 Aug 2010 21:01:03 +0000 (14:01 -0700)
commite79ce4331cf522e02dc1c8bcd47c9e9d14e2d880
treed3802e46cbda7f6df30a9b0378e15a8343572a19
parent67a3d1f17cbc0d0e405db60fed9b98c4e301875d
NOMMU: Stub out vm_get_page_prot() if there's no MMU

Stub out vm_get_page_prot() if there's no MMU.

This was added by commit a9b0bc103c2e ("[AGPGART] remove private page
protection map") and is used in commit 1aec0eec1810 ("fbmem: VM_IO set,
but not propagated") in the fbmem video driver, but the function doesn't
exist on NOMMU, resulting in an undefined symbol at link time.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mm.h