Files
kernel_xiaomi_sm8250/include/linux
Dave Kleikamp b845f313d7 mm: Allow architectures to define additional protection bits
This patch allows architectures to define functions to deal with
additional protections bits for mmap() and mprotect().

arch_calc_vm_prot_bits() maps additonal protection bits to vm_flags
arch_vm_get_page_prot() maps additional vm_flags to the vma's vm_page_prot
arch_validate_prot() checks for valid values of the protection bits

Note: vm_get_page_prot() is now pretty ugly, but the generated code
should be identical for architectures that don't define additional
protection bits.

Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2008-07-09 16:30:45 +10:00
..
2008-05-20 14:14:15 -07:00
2008-07-01 11:28:06 +10:00
2008-06-19 10:42:17 +10:00
2008-06-19 10:42:17 +10:00
2008-06-06 11:29:10 -07:00
2008-05-07 09:48:23 +02:00
2008-05-16 17:22:26 -04:00
2008-05-13 08:02:26 -07:00
2008-05-24 09:56:13 -07:00
2008-05-20 16:44:43 +02:00
2008-05-20 16:44:43 +02:00
2008-05-18 20:49:41 +02:00
2008-05-05 16:47:14 +10:00
2008-06-11 19:13:46 -04:00
2008-05-14 19:11:14 -07:00
2008-06-12 18:05:41 -07:00
2008-05-26 16:08:40 +02:00
2008-06-06 11:29:12 -07:00
2008-06-12 18:05:40 -07:00
2008-06-12 10:12:42 +02:00
2008-05-06 12:01:41 -04:00
2008-06-06 11:29:14 -07:00
2008-05-04 17:07:03 -07:00
2008-06-12 10:48:00 +02:00
2008-05-29 14:46:30 +02:00
2008-05-09 07:45:18 -07:00