nommu vm_get_page_prot and framebuffer drivers in 2.6.36-rc1

From: Mike Frysinger
Date: Wed Aug 18 2010 - 15:22:02 EST


the recent commit c07fbfd17e614a76b194f371c5331e21e6cffb54 added a
call to vm_get_page_prot() in drivers/video/fbmem.c. but this
function doesnt exist for nommu. so obviously we get:
ERROR: "vm_get_page_prot" [drivers/video/fb.ko] undefined!

looking a bit through mm/, i guess we should stub this out to 0 ?
#define vm_page_prot(x) 0
-mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/