From: Haavard Skinnemoen Date: Fri, 13 Jul 2007 09:26:01 +0000 (+0200) Subject: [AVR32] Fix build error in parse_tag_rdimg() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=aa15f63790cfd4110ff57c37aa1c6c34133d8a09;p=openwrt%2Fstaging%2Fblogic.git [AVR32] Fix build error in parse_tag_rdimg() This code is inside an #ifdef with a misspelled config symbol, so it hasn't been used for a long time. Fix it before fixing the config symbol to keep bisection working. Signed-off-by: Haavard Skinnemoen --- diff --git a/arch/avr32/kernel/setup.c b/arch/avr32/kernel/setup.c index b279d66acf5f..bf1f01600c24 100644 --- a/arch/avr32/kernel/setup.c +++ b/arch/avr32/kernel/setup.c @@ -323,7 +323,7 @@ static int __init parse_tag_rdimg(struct tag *tag) return 0; } - ret = add_reserved_region(mem->start, mem->start + mem->size - 1, + ret = add_reserved_region(mem->addr, mem->addr + mem->size - 1, "initrd"); if (ret) { printk(KERN_WARNING