diff options
author | Gordon Bergling <gbe@FreeBSD.org> | 2023-01-19 13:27:18 +0000 |
---|---|---|
committer | Gordon Bergling <gbe@FreeBSD.org> | 2023-01-19 13:27:18 +0000 |
commit | 05187f2ffc79e5959762ab8ce7067b7b8a1cdfd9 (patch) | |
tree | 0f43bcb3907a5c1b4443dd5ab4d15d1e7df50f19 | |
parent | 72e709040f3691911c7b58d5a14b4d19b276f478 (diff) | |
download | src-05187f2ffc79e5959762ab8ce7067b7b8a1cdfd9.tar.gz src-05187f2ffc79e5959762ab8ce7067b7b8a1cdfd9.zip |
amd64: Fix a common typo in source code comments
- s/comparision/comparison/
MFC after: 3 days
-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 223a9cc7f444..d8958cda430a 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 */ |