]> git.karo-electronics.de Git - mv-sheeva.git/commit
ARM: fix memblock breakage
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 27 Oct 2010 17:09:59 +0000 (18:09 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 27 Oct 2010 20:41:39 +0000 (21:41 +0100)
commit4e929d2bcf13eeaa9636448c55690b383a910391
treec50dbc31dc4d2c6fee40c17fec06ef90c84a5ee6
parent88d927e94805ebeec11ec7687df7789b954e334e
ARM: fix memblock breakage

Will says:
| Commit e63075a3 removed the explicit MEMBLOCK_REAL_LIMIT #define
| and introduced the requirement that arch code calls
| memblock_set_current_limit to ensure that the __va macro can
| be used on physical addresses returned from memblock_alloc.

Unfortunately, ARM was missed out of this change.  Fix this.

Reported-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/memblock.h
arch/arm/mm/mmu.c