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 <jonas@southpole.se>
2012-03-06 10:36:08 +01:00
..
2011-07-22 18:46:39 +02:00
2011-07-22 18:46:39 +02:00
2011-07-22 18:46:39 +02:00
2011-07-22 18:46:39 +02:00
2011-07-22 18:46:28 +02:00
2011-07-22 18:46:39 +02:00
2011-07-22 18:46:39 +02:00
2011-09-27 18:08:04 +02:00
2011-07-22 18:46:39 +02:00
2011-07-22 18:46:28 +02:00
2011-07-22 18:46:37 +02:00
2011-07-22 18:46:39 +02:00
2011-07-22 18:46:33 +02:00
2011-07-22 18:46:33 +02:00
2011-07-22 18:46:30 +02:00
2011-07-22 18:46:39 +02:00
2011-07-22 18:46:28 +02:00
2011-07-22 18:46:28 +02:00
2011-07-22 18:46:39 +02:00
2012-03-06 10:36:08 +01:00
2011-07-22 18:46:39 +02:00
2011-07-22 18:46:28 +02:00
2011-07-22 18:46:28 +02:00
2011-07-22 18:46:39 +02:00
2011-07-22 18:46:39 +02:00
2011-07-22 18:46:39 +02:00
2011-07-22 18:46:39 +02:00
2011-07-22 18:46:39 +02:00
2011-07-22 18:46:34 +02:00
2011-07-22 18:46:34 +02:00
2011-07-22 18:46:39 +02:00
2011-07-22 18:46:32 +02:00
2011-07-22 18:46:28 +02:00
2011-07-22 18:46:28 +02:00
2011-07-22 18:46:39 +02:00
2011-07-22 18:46:34 +02:00