linux-omap 2.6.37: replace various patch with upstream versions and rediff
[openembedded.git] / recipes / linux / linux-2.6.18 / atstk1000-board-fix-fbmem-setup.patch
blob185f7deb93e18575b217f19d29ce984d1cc22664
1 Index: linux-2.6.18/arch/avr32/boards/atstk1000/setup.c
2 ===================================================================
3 --- linux-2.6.18.orig/arch/avr32/boards/atstk1000/setup.c 2007-01-11 11:30:42.000000000 +0100
4 +++ linux-2.6.18/arch/avr32/boards/atstk1000/setup.c 2007-01-11 13:27:00.000000000 +0100
5 @@ -37,7 +37,8 @@
7 for_each_online_pgdat(pgdat) {
8 if (fbmem_start >= pgdat->bdata->node_boot_start
9 - && fbmem_start <= pgdat->bdata->node_low_pfn)
10 + && fbmem_start <= (pgdat->bdata->node_low_pfn
11 + * PAGE_SIZE))
12 reserve_bootmem_node(pgdat, fbmem_start,
13 fbmem_size);