]> git.baikalelectronics.ru Git - kernel.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)
commit2e47935c92397ccc3a2a3d1622dea05cb0168b29
treec50dbc31dc4d2c6fee40c17fec06ef90c84a5ee6
parent1b75ad32d0f99b8fafb8a1160c98bd3c8e2eec12
ARM: fix memblock breakage

Will says:
| Commit 7c9b1b99 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