aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Romero <gromero@linux.vnet.ibm.com>2016-07-18 12:44:02 -0300
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>2016-07-21 14:35:27 -0300
commitb898b64be7957cf2a06a165e6ba57fa067fc5685 (patch)
treebe8a2e69033f7d0283037d4ce3895b04ee85e072
parentd637e923f978844eb2ab7fd03f05ba63f4fef378 (diff)
downloadglibc-b898b64be7957cf2a06a165e6ba57fa067fc5685.tar
glibc-b898b64be7957cf2a06a165e6ba57fa067fc5685.tar.gz
glibc-b898b64be7957cf2a06a165e6ba57fa067fc5685.tar.bz2
glibc-b898b64be7957cf2a06a165e6ba57fa067fc5685.zip
powerpc: Fix missing verb and typo in comment about AT_HWCAP entry
Fix missing verb and typo in comment about AT_HWCAP entry, in the context of mcontext_t struct definition for PPC64 Linux kernels.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 97c46a1a60..d7b67d6ce8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-07-21 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.
+
2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
* sysdeps/aarch64/libm-test-ulps: Updated.
diff --git a/sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h b/sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
index 04100a2023..2b97bc71bd 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. */