From: Matteo Vit Date: Wed, 29 Aug 2007 08:19:40 +0000 (+0200) Subject: [AVR32] fix command line parsing in early_parse_fbmem X-Git-Tag: v2.6.24-rc1~1461^2~10 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=fe57f84efe3165a1e2ec477b256870f3d43b698a;p=linux-2.6-omap-h63xx.git [AVR32] fix command line parsing in early_parse_fbmem Signed-off-by: Matteo Vit - Dave S.r.l. Signed-off-by: Haavard Skinnemoen --- diff --git a/arch/avr32/kernel/setup.c b/arch/avr32/kernel/setup.c index d08b0bc6b2b..4b4c1884e1c 100644 --- a/arch/avr32/kernel/setup.c +++ b/arch/avr32/kernel/setup.c @@ -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");