diff options
author | Gordon Bergling <gbe@FreeBSD.org> | 2023-01-19 13:27:18 +0000 |
---|---|---|
committer | Gordon Bergling <gbe@FreeBSD.org> | 2023-01-22 09:09:26 +0000 |
commit | 7fa574106572318fb26c3913708927dbeec1d045 (patch) | |
tree | 9e8dec38f30df16d14c1683288b9607affca23e7 | |
parent | afd305ea66f93f0dff4d2cd9bcf879117d8da2f6 (diff) | |
download | src-7fa574106572318fb26c3913708927dbeec1d045.tar.gz src-7fa574106572318fb26c3913708927dbeec1d045.zip |
amd64: Fix a common typo in source code comments
- s/comparision/comparison/
(cherry picked from commit 05187f2ffc79e5959762ab8ce7067b7b8a1cdfd9)
-rw-r--r-- | sys/amd64/amd64/support.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/support.S b/sys/amd64/amd64/support.S index a8a3f1869e22..da8af7745af8 100644 --- a/sys/amd64/amd64/support.S +++ b/sys/amd64/amd64/support.S @@ -922,7 +922,7 @@ copy_fault: /* * casueword32. Compare and set user integer. Returns -1 on fault, - * 0 if access was successful, and 1 when comparision failed. + * 0 if access was successful, and 1 when comparison failed. * Old value is written to *oldp. * dst = %rdi, old = %esi, oldp = %rdx, new = %ecx */ @@ -1002,7 +1002,7 @@ END(casueword32_smap) /* * casueword. Compare and set user long. Returns -1 on fault, - * 0 if access was successful, and 1 when comparision failed. + * 0 if access was successful, and 1 when comparison failed. * Old value is written to *oldp. * dst = %rdi, old = %rsi, oldp = %rdx, new = %rcx */ |