]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Fix modpost error in modules attepting to use virt_addr_valid().
authorRalf Baechle <ralf@linux-mips.org>
Fri, 28 Dec 2012 14:34:40 +0000 (15:34 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 28 Dec 2012 16:04:31 +0000 (17:04 +0100)
commit95e22d875845f2c11727a7ec312970aca4e538e4
treef72f9c6ff08146ed75f64c8f216a4bfb312d2ac0
parent0db38ce952f4a996481e1ef1a9bb6aeecaf29516
MIPS: Fix modpost error in modules attepting to use virt_addr_valid().

ERROR: "min_low_pfn" [drivers/block/aoe/aoe.ko] undefined!

Fixed by moving the implementation of virt_addr_valid() into the kernel
proper and exporting it which removes the pains of an inline or macro
implementation.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/page.h
arch/mips/mm/ioremap.c