Commit Graph
3 Commits
Author SHA1 Message Date
Richard Weinberger fa8d9d74c3 OpenRISC: Remove memory_start/end prototypes
OpenRISC does not have global memory_start and memory_end
symbols.
The prototypes are in vain.

Signed-off-by: Richard Weinberger <[email protected]>
Signed-off-by: Jonas Bonn <[email protected]>
2012-03-06 10:37:21 +01:00
Jonas Bonn 2f099a280e openrisc: fix virt_addr_valid
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 <[email protected]>
2012-03-06 10:36:08 +01:00
Jonas Bonn 61e85e3675 OpenRISC: Memory management
Signed-off-by: Jonas Bonn <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
2011-07-22 18:46:28 +02:00