summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2007-07-13 11:26:01 +0200
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-07-18 20:47:04 +0200
commitaa15f63790cfd4110ff57c37aa1c6c34133d8a09 (patch)
tree093ee0ed0be6367f0cdf1f01e017806b788aa9fc /arch
parentd4003ba0a11f9fb484bd45fd83b75f7108871ef2 (diff)
downloadtalos-obmc-linux-aa15f63790cfd4110ff57c37aa1c6c34133d8a09.tar.gz
talos-obmc-linux-aa15f63790cfd4110ff57c37aa1c6c34133d8a09.zip
[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 <hskinnemoen@atmel.com>
Diffstat (limited to 'arch')
-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 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
OpenPOWER on IntegriCloud