summaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/ioremap.c
diff options
context:
space:
mode:
authorVenki Pallipadi2008-03-07 08:01:47 +0100
committerIngo Molnar2008-04-24 23:40:47 +0200
commite2beb3eae627211b67e456c53f946cede2ac10d7 (patch)
treef0b629adb961004b9026cb3b2ff4d1d370dbc01f /arch/x86/mm/ioremap.c
parentx86: introduce /dev/mem restrictions with a config option (diff)
downloadkernel-qcow2-linux-e2beb3eae627211b67e456c53f946cede2ac10d7.tar.gz
kernel-qcow2-linux-e2beb3eae627211b67e456c53f946cede2ac10d7.tar.xz
kernel-qcow2-linux-e2beb3eae627211b67e456c53f946cede2ac10d7.zip
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 'arch/x86/mm/ioremap.c')
0 files changed, 0 insertions, 0 deletions