summaryrefslogtreecommitdiffstats
path: root/sys/sun4v
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2011-04-22 12:42:41 +0000
committermarius <marius@FreeBSD.org>2011-04-22 12:42:41 +0000
commit6ca9f6e83188570625ea805b726842c5838b4069 (patch)
treeacdea65b16d9ebdd3f67c111f28c96bb3a4729d5 /sys/sun4v
parentd60e94c3bed0643b83abf5202b660bf1e644117c (diff)
downloadFreeBSD-src-6ca9f6e83188570625ea805b726842c5838b4069.zip
FreeBSD-src-6ca9f6e83188570625ea805b726842c5838b4069.tar.gz
Correct spelling in comments.
Submitted by: brucec
Diffstat (limited to 'sys/sun4v')
-rw-r--r--sys/sun4v/include/cddl/mdesc_impl.h2
-rw-r--r--sys/sun4v/sun4v/tte_hash.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/sun4v/include/cddl/mdesc_impl.h b/sys/sun4v/include/cddl/mdesc_impl.h
index aa9ff27..46c58ee 100644
--- a/sys/sun4v/include/cddl/mdesc_impl.h
+++ b/sys/sun4v/include/cddl/mdesc_impl.h
@@ -53,7 +53,7 @@ extern "C" {
*
* Elements in the first (description list) section are defined by their
* index location within the node block. An index is simply the byte offset
- * within the block / element size (16bytes). All elements are refered to
+ * within the block / element size (16bytes). All elements are referred to
* by their index, to avoid bugs related to alignment etc.
*
* The name_len field holds the storage length of an ASCII name, NOT the strlen.
diff --git a/sys/sun4v/sun4v/tte_hash.c b/sys/sun4v/sun4v/tte_hash.c
index a60185e..a02c93b 100644
--- a/sys/sun4v/sun4v/tte_hash.c
+++ b/sys/sun4v/sun4v/tte_hash.c
@@ -589,7 +589,7 @@ tte_hash_update(tte_hash_t th, vm_offset_t va, tte_t tte_data)
tte_t otte_data, tte_tag;
tte_hash_field_t field = NULL;
- entry = find_entry(th, va, PAGE_SHIFT); /* should actualy be a function of tte_data */
+ entry = find_entry(th, va, PAGE_SHIFT); /* should actually be a function of tte_data */
tte_tag = (((uint64_t)th->th_context << TTARGET_CTX_SHIFT)|(va >> TTARGET_VA_SHIFT));
s = hash_bucket_lock(entry->the_fields);
OpenPOWER on IntegriCloud