summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-09-28 20:46:43 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-09-28 20:46:43 +0000
commit46e35c22dbcc0df1b5533d4a5a74e16bfece2012 (patch)
tree82484c6425723070c044dfa32ab46252671d0b63
parent93accec642815d3cf7963467f8aa8633c739d663 (diff)
Typos of the day.
-rw-r--r--sys/arch/mvme88k/include/pcb.h4
-rw-r--r--sys/arch/mvme88k/mvme88k/cmmu.c10
-rw-r--r--sys/arch/mvme88k/mvme88k/m197_cmmu.c10
3 files changed, 9 insertions, 15 deletions
diff --git a/sys/arch/mvme88k/include/pcb.h b/sys/arch/mvme88k/include/pcb.h
index 285435f96d7..4e7e3a2d9fa 100644
--- a/sys/arch/mvme88k/include/pcb.h
+++ b/sys/arch/mvme88k/include/pcb.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcb.h,v 1.8 2001/08/12 12:03:02 heko Exp $ */
+/* $OpenBSD: pcb.h,v 1.9 2001/09/28 20:46:39 miod Exp $ */
/*
* Copyright (c) 1996 Nivas Madhur
* Mach Operating System
@@ -49,7 +49,7 @@
/*
* This must always be an even number of words long so that our stack
- * will always be properly aligned (88k need 8 byte alignmet). Also,
+ * will always be properly aligned (88k need 8 byte alignment). Also,
* place r14 on double word boundary so that we can use st.d while
* saving the regs.
*/
diff --git a/sys/arch/mvme88k/mvme88k/cmmu.c b/sys/arch/mvme88k/mvme88k/cmmu.c
index 215cd3d62c4..c26c83a9f33 100644
--- a/sys/arch/mvme88k/mvme88k/cmmu.c
+++ b/sys/arch/mvme88k/mvme88k/cmmu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmmu.c,v 1.12 2001/08/26 14:31:12 miod Exp $ */
+/* $OpenBSD: cmmu.c,v 1.13 2001/09/28 20:46:42 miod Exp $ */
/*
* Copyright (c) 1998 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -341,7 +341,7 @@ cmmu_cpu_number(void)
}
/**
- ** Funcitons that actually modify CMMU registers.
+ ** Functions that actually modify CMMU registers.
**/
void
@@ -719,7 +719,7 @@ cmmu_flush_data_cache(vm_offset_t physaddr, int size)
/*
* sync dcache (and icache too)
*/
-static void
+void
cmmu_sync_cache(vm_offset_t physaddr, int size)
{
CMMU_LOCK;
@@ -739,7 +739,7 @@ cmmu_sync_cache(vm_offset_t physaddr, int size)
CMMU_UNLOCK;
}
-static void
+void
cmmu_sync_inval_cache(vm_offset_t physaddr, int size)
{
CMMU_LOCK;
@@ -759,7 +759,7 @@ cmmu_sync_inval_cache(vm_offset_t physaddr, int size)
CMMU_UNLOCK;
}
-static void
+void
cmmu_inval_cache(vm_offset_t physaddr, int size)
{
CMMU_LOCK;
diff --git a/sys/arch/mvme88k/mvme88k/m197_cmmu.c b/sys/arch/mvme88k/mvme88k/m197_cmmu.c
index 43dea6fb3c8..8f99e21753c 100644
--- a/sys/arch/mvme88k/mvme88k/m197_cmmu.c
+++ b/sys/arch/mvme88k/mvme88k/m197_cmmu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: m197_cmmu.c,v 1.9 2001/08/31 01:52:22 miod Exp $ */
+/* $OpenBSD: m197_cmmu.c,v 1.10 2001/09/28 20:46:42 miod Exp $ */
/*
* Copyright (c) 1998 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -322,11 +322,8 @@ m197_cmmu_cpu_number(void)
}
/**
- ** Funcitons that actually modify CMMU registers.
+ ** Functions that actually modify CMMU registers.
**/
-#if !DDB
-static
-#endif
void
m197_cmmu_remote_set(unsigned cpu, unsigned r, unsigned data, unsigned x)
{
@@ -337,9 +334,6 @@ m197_cmmu_remote_set(unsigned cpu, unsigned r, unsigned data, unsigned x)
* cmmu_cpu_lock should be held when called if read
* the CMMU_SCR or CMMU_SAR.
*/
-#if !DDB
-static
-#endif
unsigned
m197_cmmu_remote_get(unsigned cpu, unsigned r, unsigned data)
{