diff options
| author | Jonas Bonn <[email protected]> | 2012-03-02 06:56:09 +0000 |
|---|---|---|
| committer | Jonas Bonn <[email protected]> | 2012-03-06 09:36:08 +0000 |
| commit | 2f099a280e92c259598d8ed8da82c7ec2dd49845 (patch) | |
| tree | f0d748adde2badc47f2d07316b08cc4e5aca214b /lib/string_helpers.c | |
| parent | OpenRISC: Export dump_stack() (diff) | |
| download | kernel-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
