summaryrefslogtreecommitdiff
path: root/packages/linux/linux-2.6.18/atstk1000-board-fix-fbmem-setup.patch
diff options
context:
space:
mode:
authorOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-01-26 07:15:58 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-01-26 07:15:58 +0000
commitb334a50b51296fd067a3f635e34a829803dff12c (patch)
tree2fcad807c6782ae4a0a6b14cd10a82e0f5cbb1bc /packages/linux/linux-2.6.18/atstk1000-board-fix-fbmem-setup.patch
parent9942a8c3c0baa09c969ea3f58dac4a1d66e0bb3a (diff)
parent4ddb6204e15197bcb77ea348a16580639083320a (diff)
merge of '0b435292ad4bcac5c77643e4c7106c40b13d44e2'
and '10d839841515280475537b389b383e3e3686c117'
Diffstat (limited to 'packages/linux/linux-2.6.18/atstk1000-board-fix-fbmem-setup.patch')
-rw-r--r--packages/linux/linux-2.6.18/atstk1000-board-fix-fbmem-setup.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/linux/linux-2.6.18/atstk1000-board-fix-fbmem-setup.patch b/packages/linux/linux-2.6.18/atstk1000-board-fix-fbmem-setup.patch
new file mode 100644
index 0000000000..185f7deb93
--- /dev/null
+++ b/packages/linux/linux-2.6.18/atstk1000-board-fix-fbmem-setup.patch
@@ -0,0 +1,14 @@
+Index: linux-2.6.18/arch/avr32/boards/atstk1000/setup.c
+===================================================================
+--- linux-2.6.18.orig/arch/avr32/boards/atstk1000/setup.c 2007-01-11 11:30:42.000000000 +0100
++++ linux-2.6.18/arch/avr32/boards/atstk1000/setup.c 2007-01-11 13:27:00.000000000 +0100
+@@ -37,7 +37,8 @@
+
+ for_each_online_pgdat(pgdat) {
+ if (fbmem_start >= pgdat->bdata->node_boot_start
+- && fbmem_start <= pgdat->bdata->node_low_pfn)
++ && fbmem_start <= (pgdat->bdata->node_low_pfn
++ * PAGE_SIZE))
+ reserve_bootmem_node(pgdat, fbmem_start,
+ fbmem_size);
+ }