diff mbox

OMAP: Fix build failure on MEMBLOCK_REAL_LIMIT

Message ID 1288629008-29767-1-git-send-email-namhyung@gmail.com (mailing list archive)
State Superseded
Delegated to: Tomi Valkeinen
Headers show

Commit Message

Namhyung Kim Nov. 1, 2010, 4:30 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/video/omap2/vram.c b/drivers/video/omap2/vram.c
index fed2a72..39b85f7 100644
--- a/drivers/video/omap2/vram.c
+++ b/drivers/video/omap2/vram.c
@@ -570,7 +570,8 @@  void __init omap_vram_reserve_sdram_memblock(void)
 			return;
 		}
 	} else {
-		paddr = memblock_alloc_base(size, PAGE_SIZE, MEMBLOCK_REAL_LIMIT);
+		paddr = memblock_alloc_base(size, PAGE_SIZE,
+					    MEMBLOCK_ALLOC_ACCESSIBLE);
 	}
 
 	omap_vram_add_region(paddr, size);