From 37162ccfcde5eadef9635a14219df25aae5456e7 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Sun, 12 Aug 2007 08:29:28 +0000 Subject: linux-2.6.18: add avr32 patches, courtes Stelios Koroneos --- .../linux-2.6.18/atstk1000-board-fix-fbmem-setup.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 packages/linux/linux-2.6.18/atstk1000-board-fix-fbmem-setup.patch (limited to 'packages/linux/linux-2.6.18/atstk1000-board-fix-fbmem-setup.patch') 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); + } -- cgit v1.2.3