diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/vino.c | 2 | ||||
-rw-r--r-- | drivers/video/vermilion/vermilion.c | 5 |
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); |