aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorJonas Bonn <[email protected]>2012-03-02 06:56:09 +0000
committerJonas Bonn <[email protected]>2012-03-06 09:36:08 +0000
commit2f099a280e92c259598d8ed8da82c7ec2dd49845 (patch)
treef0d748adde2badc47f2d07316b08cc4e5aca214b /lib/string_helpers.c
parentOpenRISC: Export dump_stack() (diff)
downloadkernel-2f099a280e92c259598d8ed8da82c7ec2dd49845.tar.gz
kernel-2f099a280e92c259598d8ed8da82c7ec2dd49845.zip
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]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions