projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4003ba
)
[AVR32] Fix build error in parse_tag_rdimg()
author
Haavard Skinnemoen
<hskinnemoen@atmel.com>
Fri, 13 Jul 2007 09:26:01 +0000
(11:26 +0200)
committer
Haavard Skinnemoen
<hskinnemoen@atmel.com>
Wed, 18 Jul 2007 18:47:04 +0000
(20:47 +0200)
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>
arch/avr32/kernel/setup.c
patch
|
blob
|
history
diff --git
a/arch/avr32/kernel/setup.c
b/arch/avr32/kernel/setup.c
index b279d66acf5fa09600a3901fa83cfda18d2706a3..bf1f01600c242a28ee512a4e1649b41c1693a694 100644
(file)
--- 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