summaryrefslogtreecommitdiff
path: root/packages/linux/linux-2.6.18/avr32-increment-pointer-when-parsing-for-fbmem_start.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/linux/linux-2.6.18/avr32-increment-pointer-when-parsing-for-fbmem_start.patch')
-rw-r--r--packages/linux/linux-2.6.18/avr32-increment-pointer-when-parsing-for-fbmem_start.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/linux/linux-2.6.18/avr32-increment-pointer-when-parsing-for-fbmem_start.patch b/packages/linux/linux-2.6.18/avr32-increment-pointer-when-parsing-for-fbmem_start.patch
new file mode 100644
index 0000000000..e755b47442
--- /dev/null
+++ b/packages/linux/linux-2.6.18/avr32-increment-pointer-when-parsing-for-fbmem_start.patch
@@ -0,0 +1,16 @@
+Index: linux-2.6.18/arch/avr32/kernel/setup.c
+===================================================================
+--- linux-2.6.18.orig/arch/avr32/kernel/setup.c 2006-12-20 12:45:12.000000000 +0100
++++ linux-2.6.18/arch/avr32/kernel/setup.c 2006-12-20 12:45:24.000000000 +0100
+@@ -103,8 +103,10 @@
+ static int __init early_parse_fbmem(char *p)
+ {
+ fbmem_size = memparse(p, &p);
+- if (*p == '@')
++ if (*p == '@') {
++ p++;
+ fbmem_start = memparse(p, &p);
++ }
+ return 0;
+ }
+ early_param("fbmem", early_parse_fbmem);