aboutsummaryrefslogtreecommitdiff
path: root/sys/sparc64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/include/_limits.h4
-rw-r--r--sys/sparc64/include/limits.h4
-rw-r--r--sys/sparc64/sparc64/cache.c6
-rw-r--r--sys/sparc64/sparc64/interrupt.S2
4 files changed, 8 insertions, 8 deletions
diff --git a/sys/sparc64/include/_limits.h b/sys/sparc64/include/_limits.h
index 4620e36aecd3..be8cf0db5fe0 100644
--- a/sys/sparc64/include/_limits.h
+++ b/sys/sparc64/include/_limits.h
@@ -73,8 +73,8 @@
#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)
#define SIZE_T_MAX ULONG_MAX /* max value for a size_t */
-#define OFF_MAX LONG_MAX /* max value for a off_t */
-#define OFF_MIN LONG_MIN /* min value for a off_t */
+#define OFF_MAX LONG_MAX /* max value for an off_t */
+#define OFF_MIN LONG_MIN /* min value for an off_t */
/* Quads and longs are the same on the alpha. Ensure they stay in sync. */
#define UQUAD_MAX (ULONG_MAX) /* max value for a uquad_t */
diff --git a/sys/sparc64/include/limits.h b/sys/sparc64/include/limits.h
index 4620e36aecd3..be8cf0db5fe0 100644
--- a/sys/sparc64/include/limits.h
+++ b/sys/sparc64/include/limits.h
@@ -73,8 +73,8 @@
#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)
#define SIZE_T_MAX ULONG_MAX /* max value for a size_t */
-#define OFF_MAX LONG_MAX /* max value for a off_t */
-#define OFF_MIN LONG_MIN /* min value for a off_t */
+#define OFF_MAX LONG_MAX /* max value for an off_t */
+#define OFF_MIN LONG_MIN /* min value for an off_t */
/* Quads and longs are the same on the alpha. Ensure they stay in sync. */
#define UQUAD_MAX (ULONG_MAX) /* max value for a uquad_t */
diff --git a/sys/sparc64/sparc64/cache.c b/sys/sparc64/sparc64/cache.c
index 6b27f14137d4..227577ecee3f 100644
--- a/sys/sparc64/sparc64/cache.c
+++ b/sys/sparc64/sparc64/cache.c
@@ -328,7 +328,7 @@ icache_flush(vm_offset_t start, vm_offset_t end)
}
/*
- * Invalidate a I$ physical range using diagnostic accesses.
+ * Invalidate an I$ physical range using diagnostic accesses.
* NOTE: there is a race between checking the tag and invalidating it. It
* cannot be closed by disabling interrupts, since the fetch for the next
* instruction may be in that line, so we don't even bother.
@@ -454,7 +454,7 @@ dcache_blast()
stxa_sync(dca, ASI_DCACHE_TAG, 0);
}
-/* Flush a E$ physical range using block commit stores. */
+/* Flush an E$ physical range using block commit stores. */
void
ecache_flush(vm_offset_t start, vm_offset_t end)
{
@@ -480,7 +480,7 @@ ecache_flush(vm_offset_t start, vm_offset_t end)
#if 0
/*
- * Invalidate a E$ range using diagnostic accesses.
+ * Invalidate an E$ range using diagnostic accesses.
* This is disabled: it suffers from the same races as dcache_blast() and
* icache_blast_phys(), but they may be fatal here because blasting an E$ line
* can discard modified data.
diff --git a/sys/sparc64/sparc64/interrupt.S b/sys/sparc64/sparc64/interrupt.S
index 971de313e259..11c1753522b6 100644
--- a/sys/sparc64/sparc64/interrupt.S
+++ b/sys/sparc64/sparc64/interrupt.S
@@ -110,7 +110,7 @@ ENTRY(intr_vector)
lduw [%g2 + IV_PRI], %g6
/*
- * Get a intr_request from the free list. There should always be one
+ * Get an intr_request from the free list. There should always be one
* unless we are getting an interrupt storm from stray interrupts, in
* which case the we will deference a NULL pointer and panic.
*/