summaryrefslogtreecommitdiff
path: root/arch/avr32/kernel/setup.c
diff options
context:
space:
mode:
authorMatteo Vit <matteo.vit@dave.eu>2007-08-29 08:19:40 (GMT)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-10-11 10:16:56 (GMT)
commitfe57f84efe3165a1e2ec477b256870f3d43b698a (patch)
treed35d59447422ff4f867be5e43eb430886925405f /arch/avr32/kernel/setup.c
parent0367d89274d47941b1bc02e35ddad24077de3ce7 (diff)
downloadlinux-fe57f84efe3165a1e2ec477b256870f3d43b698a.tar.xz
[AVR32] fix command line parsing in early_parse_fbmem
Signed-off-by: Matteo Vit - Dave S.r.l. <matteo.vit@dave.eu> Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/kernel/setup.c')
-rw-r--r--arch/avr32/kernel/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/kernel/setup.c b/arch/avr32/kernel/setup.c
index d08b0bc..4b4c188 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");