Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 222108
b: refs/heads/master
c: 88abf44
h: refs/heads/master
v: v3
  • Loading branch information
Tomi Valkeinen authored and Paul Mundt committed Nov 10, 2010
1 parent 95b8eab commit 5c8eb27
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 108409a8a4e325db38f27258da68d7207a0ad433
refs/heads/master: 88abf44d3d8d4fefcbf3d57584d471e38cb51627
5 changes: 4 additions & 1 deletion trunk/drivers/video/omap2/vram.c
Original file line number Diff line number Diff line change
Expand Up @@ -576,9 +576,12 @@ void __init omap_vram_reserve_sdram_memblock(void)
return;
}
} else {
paddr = memblock_alloc_base(size, PAGE_SIZE, MEMBLOCK_REAL_LIMIT);
paddr = memblock_alloc(size, PAGE_SIZE);
}

memblock_free(paddr, size);
memblock_remove(paddr, size);

omap_vram_add_region(paddr, size);

pr_info("Reserving %u bytes SDRAM for VRAM\n", size);
Expand Down

0 comments on commit 5c8eb27

Please sign in to comment.