docs: move protection-keys.rst to the core-api book

This document is used by multiple architectures:

	$ echo $(git grep -l  pkey_mprotect arch|cut -d'/' -f 2|sort|uniq)
	alpha arm arm64 ia64 m68k microblaze mips parisc powerpc s390 sh sparc x86 xtensa

So, let's move it to the core book and adjust the links to it
accordingly.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
Mauro Carvalho Chehab 2019-06-07 15:54:31 -03:00 committed by Jonathan Corbet
parent 14b767430a
commit 1eecbcdca2
6 changed files with 4 additions and 4 deletions

View File

@ -34,6 +34,7 @@ Core utilities
timekeeping
boot-time-mm
memory-hotplug
protection-keys
Interfaces for kernel debugging

View File

@ -19,7 +19,6 @@ x86-specific Documentation
tlb
mtrr
pat
protection-keys
intel_mpx
amd-memory-encryption
pti

View File

@ -898,7 +898,7 @@ config PPC_MEM_KEYS
page-based protections, but without requiring modification of the
page tables when an application changes protection domains.
For details, see Documentation/vm/protection-keys.rst
For details, see Documentation/core-api/protection-keys.rst
If unsure, say y.

View File

@ -1911,7 +1911,7 @@ config X86_INTEL_MEMORY_PROTECTION_KEYS
page-based protections, but without requiring modification of the
page tables when an application changes protection domains.
For details, see Documentation/x86/protection-keys.txt
For details, see Documentation/core-api/protection-keys.rst
If unsure, say y.

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Tests x86 Memory Protection Keys (see Documentation/x86/protection-keys.txt)
* Tests x86 Memory Protection Keys (see Documentation/core-api/protection-keys.rst)
*
* There are examples in here of:
* * how to set protection keys on memory