OMAP: VRAM: Fix boot-time memory allocation
authorTomi Valkeinen <tomi.valkeinen@nokia.com>
Wed, 10 Nov 2010 09:45:19 +0000 (11:45 +0200)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 10 Nov 2010 11:51:13 +0000 (20:51 +0900)
commit88abf44d3d8d4fefcbf3d57584d471e38cb51627
treeb43468aec564c391415252636995e08ad3e45f0c
parent108409a8a4e325db38f27258da68d7207a0ad433
OMAP: VRAM: Fix boot-time memory allocation

Use memblock_free() and memblock_remove() to remove the allocated or
reserved VRAM area from normal kernel memory.

This is a slightly modified version of patches from Felipe Contreras and
Namhyung Kim.

Reported-by: Felipe Contreras <felipe.contreras@gmail.com>
Reported-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/omap2/vram.c