aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/vermilion
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/vermilion')
-rw-r--r--drivers/video/vermilion/vermilion.c5
1 files changed, 3 insertions, 2 deletions
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);