summaryrefslogtreecommitdiff
path: root/i386/i386
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2015-01-02 16:02:49 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-01-02 20:09:13 +0100
commit2fbf8a78d7244fcf60eaeb218070959715f61f53 (patch)
tree20bce5362bc3b78eff229a5c67c2a7f43b74d9f4 /i386/i386
parentb8fdffc2877992e5c5121bb7e011561581691d14 (diff)
i386: Fix typos in comments (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'i386/i386')
-rw-r--r--i386/i386/io_perm.c2
-rw-r--r--i386/i386/pcb.c2
-rw-r--r--i386/i386/trap.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/i386/i386/io_perm.c b/i386/i386/io_perm.c
index 6a6e660..d5c7103 100644
--- a/i386/i386/io_perm.c
+++ b/i386/i386/io_perm.c
@@ -221,7 +221,7 @@ i386_io_perm_create (const ipc_port_t master_port, io_port_t from, io_port_t to,
}
/* Modify the I/O permissions for TARGET_TASK. If ENABLE is TRUE, the
- permission to acces the I/O ports specified by IO_PERM is granted,
+ permission to access the I/O ports specified by IO_PERM is granted,
otherwise it is withdrawn.
The function returns KERN_INVALID_ARGUMENT if TARGET_TASK is not a valid
diff --git a/i386/i386/pcb.c b/i386/i386/pcb.c
index 5866cac..e8040c8 100644
--- a/i386/i386/pcb.c
+++ b/i386/i386/pcb.c
@@ -801,7 +801,7 @@ thread_set_syscall_return(
}
/*
- * Return prefered address of user stack.
+ * Return preferred address of user stack.
* Always returns low address. If stack grows up,
* the stack grows away from this address;
* if stack grows down, the stack grows towards this
diff --git a/i386/i386/trap.c b/i386/i386/trap.c
index f1fe634..6470504 100644
--- a/i386/i386/trap.c
+++ b/i386/i386/trap.c
@@ -574,7 +574,7 @@ i386_astintr(void)
if (need_ast[mycpu] & AST_I386_FP) {
/*
* AST was for delayed floating-point exception -
- * FP interrupt occured while in kernel.
+ * FP interrupt occurred while in kernel.
* Turn off this AST reason and handle the FPU error.
*/
ast_off(mycpu, AST_I386_FP);