summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMichael Tokarev <mjt@tls.msk.ru>2023-11-14 19:07:15 +0300
committerMichael Tokarev <mjt@tls.msk.ru>2023-11-15 11:09:17 +0300
commit2cf91b9ae6df17ac99dd212016e2d204cc2f6a74 (patch)
treef013d2cbdb6ae28178e8ced181896d59f7bd8013
parent9bfba08a1f9e78d67e85fca301a2661685f8de69 (diff)
downloadfocaccia-qemu-2cf91b9ae6df17ac99dd212016e2d204cc2f6a74.tar.gz
focaccia-qemu-2cf91b9ae6df17ac99dd212016e2d204cc2f6a74.zip
linux-user: spelling fixes: othe, necesary
Fixes: e34136d93059 "linux-user/ppc: Add vdso"
Fixes: 86f04735ac20 "linux-user: Fix brk() to release pages"
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rw-r--r--linux-user/ppc/vdso.S2
-rw-r--r--linux-user/syscall.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/linux-user/ppc/vdso.S b/linux-user/ppc/vdso.S
index 689010db13..2e79ea9808 100644
--- a/linux-user/ppc/vdso.S
+++ b/linux-user/ppc/vdso.S
@@ -227,7 +227,7 @@ endf	__kernel_sigtramp_rt
 #ifndef _ARCH_PPC64
 	/*
 	 * The non-rt sigreturn has the same layout at a different offset.
-	 * Move the CFA and leave all othe other descriptions the same.
+	 * Move the CFA and leave all the other descriptions the same.
 	 */
 	.cfi_def_cfa	1, SIGNAL_FRAMESIZE + offsetof_sigframe_mcontext
 	nop
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 65ac3ac796..16ca5ea7b6 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -831,7 +831,7 @@ abi_long do_brk(abi_ulong brk_val)
         return target_brk;
     }
 
-    /* Release heap if necesary */
+    /* Release heap if necessary */
     if (new_brk < old_brk) {
         target_munmap(new_brk, old_brk - new_brk);