]> git.baikalelectronics.ru Git - kernel.git/commit
mm: Add new func _install_special_mapping() to mmap.c
authorStefani Seibold <stefani@seibold.net>
Mon, 17 Mar 2014 22:22:02 +0000 (23:22 +0100)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 18 Mar 2014 19:51:56 +0000 (12:51 -0700)
commit693256d1a4abbba2c940ea347d88b5675bc9f501
treef8f9eb07a9b3e05f5b143e032e4b59a4b62836a6
parent8cbae8c9f8ceafb922086dd55230818adc938de5
mm: Add new func _install_special_mapping() to mmap.c

The _install_special_mapping() is the new base function for
install_special_mapping(). This function will return a pointer of the
created VMA or a error code in an ERR_PTR()

This new function will be needed by the for the vdso 32 bit support to map the
additonal vvar and hpet pages into the 32 bit address space. This will be done
with io_remap_pfn_range() and remap_pfn_range, which requieres a vm_area_struct.

Reviewed-by: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Stefani Seibold <stefani@seibold.net>
Link: http://lkml.kernel.org/r/1395094933-14252-3-git-send-email-stefani@seibold.net
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
include/linux/mm.h
mm/mmap.c