diff options
author | Khalid Aziz <khalid.aziz@oracle.com> | 2018-02-21 10:15:50 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-18 07:38:47 -0700 |
commit | 2c2d57b5e769956fb36581e0d3cccdb5ea68038f (patch) | |
tree | 339cc77f5489da03b12eb478315429f2c60bcf9d /include/linux/highmem.h | |
parent | 9035cf9a97e429e6b5291841da81c433879f5658 (diff) | |
download | blackbird-obmc-linux-2c2d57b5e769956fb36581e0d3cccdb5ea68038f.tar.gz blackbird-obmc-linux-2c2d57b5e769956fb36581e0d3cccdb5ea68038f.zip |
mm: Clear arch specific VM flags on protection change
When protection bits are changed on a VMA, some of the architecture
specific flags should be cleared as well. An examples of this are the
PKEY flags on x86. This patch expands the current code that clears
PKEY flags for x86, to support similar functionality for other
architectures as well.
Signed-off-by: Khalid Aziz <khalid.aziz@oracle.com>
Cc: Khalid Aziz <khalid@gonehiking.org>
Reviewed-by: Anthony Yznaga <anthony.yznaga@oracle.com>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/highmem.h')
0 files changed, 0 insertions, 0 deletions