Skip to content

Commit

Permalink
[AVR32] Fix build error in parse_tag_rdimg()
Browse files Browse the repository at this point in the history
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 <hskinnemoen@atmel.com>
  • Loading branch information
Haavard Skinnemoen committed Jul 18, 2007
1 parent d4003ba commit aa15f63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/avr32/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aa15f63

Please sign in to comment.