diff options
author | Venki Pallipadi <venkatesh.pallipadi@intel.com> | 2008-03-06 23:01:47 -0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-24 23:40:47 +0200 |
commit | e2beb3eae627211b67e456c53f946cede2ac10d7 (patch) | |
tree | f0b629adb961004b9026cb3b2ff4d1d370dbc01f /include | |
parent | ae531c26c5c2a28ca1b35a75b39b3b256850f2c8 (diff) |
devmem: add range_is_allowed() check to mmap of /dev/mem
Earlier patch that introduced CONFIG_NONPROMISC_DEVMEM, did the
range_is_allowed() check only for read and write. Add range_is_allowed()
check to mmap of /dev/mem as well.
Changes the paramaters of range_is_allowed() to pfn and size to handle
more than 32 bits of physical address on 32 bit arch cleanly.
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions