summaryrefslogtreecommitdiffstats
path: root/sys/sun4v
diff options
context:
space:
mode:
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