[AVR32] fix command line parsing in early_parse_fbmem
authorMatteo Vit <matteo.vit@dave.eu>
Wed, 29 Aug 2007 08:19:40 +0000 (10:19 +0200)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Thu, 11 Oct 2007 10:16:56 +0000 (12:16 +0200)
Signed-off-by: Matteo Vit - Dave S.r.l. <matteo.vit@dave.eu>
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
arch/avr32/kernel/setup.c

index d08b0bc6b2bbc31338f9f0cbc2f0e2b1da282ee9..4b4c1884e1c5a4c7546eebf9ee39dcdf500e9781 100644 (file)
@@ -248,7 +248,7 @@ static int __init early_parse_fbmem(char *p)
 
        fbmem_size = memparse(p, &p);
        if (*p == '@') {
-               fbmem_start = memparse(p, &p);
+               fbmem_start = memparse(p + 1, &p);
                ret = add_reserved_region(fbmem_start,
                                          fbmem_start + fbmem_size - 1,
                                          "Framebuffer");