[PATCH] arm64/gcs: Fix documentation for HWCAP

From: Mark Brown
Date: Fri Jan 24 2025 - 12:34:14 EST


In one of the renumberings of the GCS hwcap a stray reference to HWCAP2 was
left, fix it.

Reported-by: David Spickett <David.Spickett@xxxxxxx>
Fixes: 7058bf87cd59 ("arm64/gcs: Document the ABI for Guarded Control Stacks")
Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
---
Documentation/arch/arm64/gcs.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/arch/arm64/gcs.rst b/Documentation/arch/arm64/gcs.rst
index 1f65a3193e7765dce9bfd6ad88b9fbd6a225ed86..226c0b008456f28c57c2221f45eed7e99610be46 100644
--- a/Documentation/arch/arm64/gcs.rst
+++ b/Documentation/arch/arm64/gcs.rst
@@ -37,7 +37,7 @@ intended to be exhaustive.
shadow stacks rather than GCS.

* Support for GCS is reported to userspace via HWCAP_GCS in the aux vector
- AT_HWCAP2 entry.
+ AT_HWCAP entry.

* GCS is enabled per thread. While there is support for disabling GCS
at runtime this should be done with great care.

---
base-commit: ffd294d346d185b70e28b1a28abe367bbfe53c04
change-id: 20250124-arm64-gcs-hwcap-doc-576d5f41027a

Best regards,
--
Mark Brown <broonie@xxxxxxxxxx>