[PATCH] powerpc: Fix missing verb and typo in comment about AT_HWCAP entry
Gustavo Romero
gromero@linux.vnet.ibm.com
Mon Jul 18 15:59:00 GMT 2016
Fix missing verb and typo in comment about AT_HWCAP entry, in the context
of mcontext_t struct definition for PPC64 Linux kernels.
2016-07-18 Gustavo Romero <gromero@linux.vnet.ibm.com>
* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
and typo in a comment about AT_HWCAP entry.
---
sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h b/sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
index 04100a2..2b97bc7 100644
--- a/sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
+++ b/sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
@@ -64,8 +64,8 @@ typedef struct
/* For 64-bit kernels with Altivec support, a machine context is exactly
* a sigcontext. For older kernel (without Altivec) the sigcontext matches
* the mcontext upto but not including the v_regs field. For kernels that
- * don't AT_HWCAP or return AT_HWCAP without PPC_FEATURE_HAS_ALTIVEC the
- * v_regs field may not exit and should not be referenced. The v_regd field
+ * don't set AT_HWCAP or return AT_HWCAP without PPC_FEATURE_HAS_ALTIVEC the
+ * v_regs field may not exist and should not be referenced. The v_regd field
* can be refernced safely only after verifying that PPC_FEATURE_HAS_ALTIVEC
* is set in AT_HWCAP. */
--
2.4.0
More information about the Libc-alpha
mailing list