Signed-off-by: Mark Cave-Ayland mark.cave-ayland@ilande.co.uk --- arch/sparc64/ldscript | 2 +- arch/sparc64/ofmem_sparc64.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/sparc64/ldscript b/arch/sparc64/ldscript index c5cc6a5..a55e02b 100644 --- a/arch/sparc64/ldscript +++ b/arch/sparc64/ldscript @@ -61,7 +61,7 @@ SECTIONS _estack = .; }
- . = ALIGN(4096); + . = ALIGN(8192); _end = .; _iomem = _end + IOMEM_SIZE;
diff --git a/arch/sparc64/ofmem_sparc64.c b/arch/sparc64/ofmem_sparc64.c index 1711c7e..ba4a053 100644 --- a/arch/sparc64/ofmem_sparc64.c +++ b/arch/sparc64/ofmem_sparc64.c @@ -68,13 +68,13 @@ ucell ofmem_arch_get_virt_top(void) ucell ofmem_arch_get_iomem_base(void) { /* Currently unused */ - return 0; + return (ucell)&_iomem; }
ucell ofmem_arch_get_iomem_top(void) { /* Currently unused */ - return 0; + return (ucell)&_iomem + 0x8000; }
retain_t *ofmem_arch_get_retained(void)