commit | e2beb3eae627211b67e456c53f946cede2ac10d7 | [log] [tgz] |
---|---|---|
author | Venki Pallipadi <venkatesh.pallipadi@intel.com> | Thu Mar 06 23:01:47 2008 -0800 |
committer | Ingo Molnar <mingo@elte.hu> | Thu Apr 24 23:40:47 2008 +0200 |
tree | f0b629adb961004b9026cb3b2ff4d1d370dbc01f | |
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>