projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb4f998
)
m68k/amiga: Chip RAM - Offset resource end by CHIP_PHYSADDR
author
Geert Uytterhoeven
<geert@linux-m68k.org>
Sun, 22 May 2011 09:09:02 +0000
(11:09 +0200)
committer
Geert Uytterhoeven
<geert@linux-m68k.org>
Sat, 30 Jul 2011 19:21:38 +0000
(21:21 +0200)
Technically, the end of Chip RAM should be offset by CHIP_PHYSADDR (which is
zero).
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/amiga/chipram.c
patch
|
blob
|
history
diff --git
a/arch/m68k/amiga/chipram.c
b/arch/m68k/amiga/chipram.c
index cfd3b7af26c6947a2ecb5038a2d89490a81fcb18..4790f77cbd486aedce9b0db34c43914cc5c0cbc0 100644
(file)
--- a/
arch/m68k/amiga/chipram.c
+++ b/
arch/m68k/amiga/chipram.c
@@
-34,7
+34,7
@@
void __init amiga_chip_init(void)
if (!AMIGAHW_PRESENT(CHIP_RAM))
return;
- chipram_res.end =
amiga_chip_size-
1;
+ chipram_res.end =
CHIP_PHYSADDR + amiga_chip_size -
1;
request_resource(&iomem_resource, &chipram_res);
atomic_set(&chipavail, amiga_chip_size);