]> git.baikalelectronics.ru Git - kernel.git/commitdiff
arm64/sve: Minor clarification of ABI documentation
authorMark Brown <broonie@kernel.org>
Fri, 10 Dec 2021 18:40:59 +0000 (18:40 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 14 Dec 2021 18:33:44 +0000 (18:33 +0000)
As suggested by Luis for the SME version of this explicitly say that the
vector length should be extracted from the return value of a set vector
length prctl() with a bitwise and rather than just any old and.

Suggested-by: Luis Machado <Luis.Machado@arm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20211210184133.320748-4-broonie@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Documentation/arm64/sve.rst

index 03137154299e5e33772ed52c627881dec082207b..9d9a4de5bc34a31444dba9945e8f5c042160cbbb 100644 (file)
@@ -255,7 +255,7 @@ prctl(PR_SVE_GET_VL)
     vector length change (which would only normally be the case between a
     fork() or vfork() and the corresponding execve() in typical use).
 
-    To extract the vector length from the result, and it with
+    To extract the vector length from the result, bitwise and it with
     PR_SVE_VL_LEN_MASK.
 
     Return value: a nonnegative value on success, or a negative value on error: