From: Venki Pallipadi Date: Fri, 7 Mar 2008 07:01:47 +0000 (-0800) Subject: devmem: add range_is_allowed() check to mmap of /dev/mem X-Git-Tag: v2.6.26-rc1~1058^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2beb3eae627211b67e456c53f946cede2ac10d7;p=pandora-kernel.git 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 Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed