Skip to content

Commit aed34d9

Browse files
brooniectmarinas
authored andcommitted
arm64/sve: Minor clarification of ABI documentation
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 <[email protected]> Signed-off-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent 30c43e7 commit aed34d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/arm64/sve.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ prctl(PR_SVE_GET_VL)
255255
vector length change (which would only normally be the case between a
256256
fork() or vfork() and the corresponding execve() in typical use).
257257

258-
To extract the vector length from the result, and it with
258+
To extract the vector length from the result, bitwise and it with
259259
PR_SVE_VL_LEN_MASK.
260260

261261
Return value: a nonnegative value on success, or a negative value on error:

0 commit comments

Comments
 (0)