summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2010-06-10 08:48:37 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2010-06-10 08:48:37 +0000
commit1095eddd2a53e9f41244cc8a1662196d39bbb806 (patch)
treec4e275c37596a59be735710823c0052c04baac25 /sys
parentfbab9aec24cc23135423c9b342fb8e6a9fa79c7f (diff)
fix typos in comments: lineair -> linear.
Diffstat (limited to 'sys')
-rw-r--r--sys/uvm/uvm_pglist.c4
-rw-r--r--sys/uvm/uvm_pmemrange.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/uvm/uvm_pglist.c b/sys/uvm/uvm_pglist.c
index b4b15f326c0..94b68efba13 100644
--- a/sys/uvm/uvm_pglist.c
+++ b/sys/uvm/uvm_pglist.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_pglist.c,v 1.36 2010/04/22 19:02:55 oga Exp $ */
+/* $OpenBSD: uvm_pglist.c,v 1.37 2010/06/10 08:48:36 thib Exp $ */
/* $NetBSD: uvm_pglist.c,v 1.13 2001/02/18 21:19:08 chs Exp $ */
/*-
@@ -77,7 +77,7 @@ u_long uvm_pglistalloc_npages;
* UVM_PLA_NOWAIT fail if allocation fails
* UVM_PLA_WAITOK wait for memory to become avail
* UVM_PLA_ZERO return zeroed memory
- * UVM_PLA_TRYCONTIG caller (device) prefers p-lineair memory
+ * UVM_PLA_TRYCONTIG caller (device) prefers p-linear memory
*/
int
diff --git a/sys/uvm/uvm_pmemrange.c b/sys/uvm/uvm_pmemrange.c
index 0c10aee5f5c..5b2917e4343 100644
--- a/sys/uvm/uvm_pmemrange.c
+++ b/sys/uvm/uvm_pmemrange.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_pmemrange.c,v 1.12 2010/06/10 08:42:23 thib Exp $ */
+/* $OpenBSD: uvm_pmemrange.c,v 1.13 2010/06/10 08:48:36 thib Exp $ */
/*
* Copyright (c) 2009, 2010 Ariane van der Steldt <ariane@stack.nl>
@@ -590,7 +590,7 @@ uvm_pmr_remove_1strange(struct pglist *pgl, paddr_t boundary,
* element (rather than a close match to the smallest element).
*/
if (is_desperate) {
- /* Lineair search for smallest segment. */
+ /* Linear search for smallest segment. */
pmr_iter = pmr;
for (iter = TAILQ_NEXT(end, pageq);
iter != NULL && start != end;