summaryrefslogtreecommitdiff
path: root/packages/linux/linux-2.6.18/avr32-increment-pointer-when-parsing-for-fbmem_start.patch
blob: e755b47442ece894ba81bec5a02f1ab1a2f3a0b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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);