Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2f099a28 authored by Jonas Bonn's avatar Jonas Bonn
Browse files

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: default avatarJonas Bonn <jonas@southpole.se>
parent 01c4d33a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment