summaryrefslogtreecommitdiff
path: root/arch/openrisc/include/asm/page.h
AgeCommit message (Collapse)AuthorFilesLines
2012-03-06OpenRISC: Remove memory_start/end prototypesRichard Weinberger1-3/+0
OpenRISC does not have global memory_start and memory_end symbols. The prototypes are in vain. Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Jonas Bonn <jonas@southpole.se>
2012-03-06openrisc: fix virt_addr_validJonas Bonn1-2/+1
virt_addr_valid() shouldn't be comparing the address to memory_end which is a phys_addr_t. Change this to do like other arches and check that the address falls within a valid page frame. Signed-off-by: Jonas Bonn <jonas@southpole.se>
2011-07-22OpenRISC: Memory managementJonas Bonn1-0/+110
Signed-off-by: Jonas Bonn <jonas@southpole.se> Reviewed-by: Arnd Bergmann <arnd@arndb.de>