diff options
author | Adam Zerella <adam.zerella@gmail.com> | 2019-09-28 14:58:19 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2019-10-01 14:32:35 +0200 |
commit | a2b99dcac36c332d4a49184716fc2a67dc1bdbb1 (patch) | |
tree | 9c206a9bcaa7d3b721db7243a49e951fec75a54d /Documentation/arm64 | |
parent | arm64/sve: Fix wrong free for task->thread.sve_state (diff) | |
download | linux-a2b99dcac36c332d4a49184716fc2a67dc1bdbb1.tar.xz linux-a2b99dcac36c332d4a49184716fc2a67dc1bdbb1.zip |
docs: arm64: Fix indentation and doc formatting
Sphinx generates the following warnings for the arm64 doc
pages:
Documentation/arm64/memory.rst:158: WARNING: Unexpected indentation.
Documentation/arm64/memory.rst:162: WARNING: Unexpected indentation.
These indentations warnings can be resolved by utilising code
hightlighting instead.
Signed-off-by: Adam Zerella <adam.zerella@gmail.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'Documentation/arm64')
-rw-r--r-- | Documentation/arm64/memory.rst | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Documentation/arm64/memory.rst b/Documentation/arm64/memory.rst index b040909e45f8..02e02175e6f5 100644 --- a/Documentation/arm64/memory.rst +++ b/Documentation/arm64/memory.rst @@ -154,11 +154,18 @@ return virtual addresses to userspace from a 48-bit range. Software can "opt-in" to receiving VAs from a 52-bit space by specifying an mmap hint parameter that is larger than 48-bit. + For example: - maybe_high_address = mmap(~0UL, size, prot, flags,...); + +.. code-block:: c + + maybe_high_address = mmap(~0UL, size, prot, flags,...); It is also possible to build a debug kernel that returns addresses from a 52-bit space by enabling the following kernel config options: + +.. code-block:: sh + CONFIG_EXPERT=y && CONFIG_ARM64_FORCE_52BIT=y Note that this option is only intended for debugging applications |