aboutsummaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2022-01-14 18:25:35 +0000
committerLaurent Vivier <laurent@vivier.eu>2022-01-18 12:37:59 +0100
commit5b602fc4ed1e621d892e6d17879a882512e3b553 (patch)
tree69fd2af23cd1083c72f38ac011cc30997870ad8a /linux-user
parentd4fae97d8fb50d7e3387458af24c85bac965957d (diff)
downloadqemu-5b602fc4ed1e621d892e6d17879a882512e3b553.zip
qemu-5b602fc4ed1e621d892e6d17879a882512e3b553.tar.gz
qemu-5b602fc4ed1e621d892e6d17879a882512e3b553.tar.bz2
linux-user: Fix comment typo in arm cpu_loop code
Fix a typo in a comment in the arm cpu_loop code. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Warner Losh <imp@bsdimp.com> Message-Id: <20220114182535.3804783-1-peter.maydell@linaro.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/arm/cpu_loop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-user/arm/cpu_loop.c b/linux-user/arm/cpu_loop.c
index f153ab5..032e1ff 100644
--- a/linux-user/arm/cpu_loop.c
+++ b/linux-user/arm/cpu_loop.c
@@ -434,8 +434,8 @@ void cpu_loop(CPUARMState *env)
case 0x6: /* Access flag fault, level 2 */
case 0x9: /* Domain fault, level 1 */
case 0xb: /* Domain fault, level 2 */
- case 0xd: /* Permision fault, level 1 */
- case 0xf: /* Permision fault, level 2 */
+ case 0xd: /* Permission fault, level 1 */
+ case 0xf: /* Permission fault, level 2 */
si_signo = TARGET_SIGSEGV;
si_code = TARGET_SEGV_ACCERR;
break;