openrisc: fix virt_addr_valid
authorJonas Bonn <jonas@southpole.se>
Fri, 2 Mar 2012 06:56:09 +0000 (07:56 +0100)
committerJonas Bonn <jonas@southpole.se>
Tue, 6 Mar 2012 09:36:08 +0000 (10:36 +0100)
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>

No differences found