aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorNick Piggin <npiggin@suse.de>2008-04-28 05:12:10 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-28 11:58:18 -0400
commit3c18ddd160d1fcd46d1131d9ad6c594dd8e9af99 (patch)
tree7307ba1ae4bdb99d1363eb59b1ebefcf5295c8ef /drivers
parent4d3d5b41a72b52555d43efbfc4ccde6ba6e5444f (diff)
mm: remove nopage
Nothing in the tree uses nopage any more. Remove support for it in the core mm code and documentation (and a few stray references to it in comments). Signed-off-by: Nick Piggin <npiggin@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/vino.c2
-rw-r--r--drivers/video/vermilion/vermilion.c5
2 files changed, 4 insertions, 3 deletions
diff --git a/drivers/media/video/vino.c b/drivers/media/video/vino.c
index d545c98dd5e7..01ea99c9bc1a 100644
--- a/drivers/media/video/vino.c
+++ b/drivers/media/video/vino.c
@@ -13,7 +13,7 @@
13/* 13/*
14 * TODO: 14 * TODO:
15 * - remove "mark pages reserved-hacks" from memory allocation code 15 * - remove "mark pages reserved-hacks" from memory allocation code
16 * and implement nopage() 16 * and implement fault()
17 * - check decimation, calculating and reporting image size when 17 * - check decimation, calculating and reporting image size when
18 * using decimation 18 * using decimation
19 * - implement read(), user mode buffers and overlay (?) 19 * - implement read(), user mode buffers and overlay (?)
diff --git a/drivers/video/vermilion/vermilion.c b/drivers/video/vermilion/vermilion.c
index 2aa71eb67c2b..c18f1884b550 100644
--- a/drivers/video/vermilion/vermilion.c
+++ b/drivers/video/vermilion/vermilion.c
@@ -112,8 +112,9 @@ static int vmlfb_alloc_vram_area(struct vram_area *va, unsigned max_order,
112 112
113 /* 113 /*
114 * It seems like __get_free_pages only ups the usage count 114 * It seems like __get_free_pages only ups the usage count
115 * of the first page. This doesn't work with nopage mapping, so 115 * of the first page. This doesn't work with fault mapping, so
116 * up the usage count once more. 116 * up the usage count once more (XXX: should use split_page or
117 * compound page).
117 */ 118 */
118 119
119 memset((void *)va->logical, 0x00, va->size); 120 memset((void *)va->logical, 0x00, va->size);