summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2023-04-10 04:21:21 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2023-04-10 04:21:21 +0000
commitf14995fb41aefe2f85e7379f95928e90f7aeca21 (patch)
treeb0b0f1853263f716b6ac6face773c9bcef24ba77 /sys/arch
parent72997f6aae1a50d3c6c67fb0125418e9fe77a56e (diff)
spelling
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/amd64/db_disasm.c4
-rw-r--r--sys/arch/amd64/include/mpbiosreg.h4
-rw-r--r--sys/arch/armv7/exynos/ec_commands.h2
-rw-r--r--sys/arch/armv7/marvell/mvmpic.c4
-rw-r--r--sys/arch/hppa/include/atomic.h4
-rw-r--r--sys/arch/i386/include/mpbiosreg.h4
-rw-r--r--sys/arch/luna88k/stand/boot/ufs_disksubr.c4
-rw-r--r--sys/arch/sh/sh/clock.c4
-rw-r--r--sys/arch/sparc64/sparc64/mdesc.c4
9 files changed, 17 insertions, 17 deletions
diff --git a/sys/arch/amd64/amd64/db_disasm.c b/sys/arch/amd64/amd64/db_disasm.c
index b1879e8254f..8a0be937e42 100644
--- a/sys/arch/amd64/amd64/db_disasm.c
+++ b/sys/arch/amd64/amd64/db_disasm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_disasm.c,v 1.22 2020/09/11 09:27:09 mpi Exp $ */
+/* $OpenBSD: db_disasm.c,v 1.23 2023/04/10 04:21:19 jsg Exp $ */
/* $NetBSD: db_disasm.c,v 1.11 1996/05/03 19:41:58 christos Exp $ */
/*
@@ -1176,7 +1176,7 @@ db_disasm(vaddr_t loc, int altfmt)
if (segovr_grp > 1)
seg = "<bad segment override prefix combination> ";
if (repe > 0 && repne > 0)
- db_printf("<bad repeat prefex combination> ");
+ db_printf("<bad repeat prefix combination> ");
else if (repe > 0)
db_printf("repe "); /* XXX "rep" if not CMPSx or SCASx */
else if (repne > 0)
diff --git a/sys/arch/amd64/include/mpbiosreg.h b/sys/arch/amd64/include/mpbiosreg.h
index 9e284b053ad..3a4fea6af08 100644
--- a/sys/arch/amd64/include/mpbiosreg.h
+++ b/sys/arch/amd64/include/mpbiosreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpbiosreg.h,v 1.4 2011/03/23 16:54:34 pirofti Exp $ */
+/* $OpenBSD: mpbiosreg.h,v 1.5 2023/04/10 04:21:20 jsg Exp $ */
/* $NetBSD: mpbiosreg.h,v 1.3 2003/03/04 23:27:32 fvdl Exp $ */
/*-
@@ -52,7 +52,7 @@
#define MPS_MCT_NTYPES 5
/*
- * Interrupt typess
+ * Interrupt types
*/
#define MPS_INTTYPE_INT 0
diff --git a/sys/arch/armv7/exynos/ec_commands.h b/sys/arch/armv7/exynos/ec_commands.h
index 4671c997ff1..639062bcfe3 100644
--- a/sys/arch/armv7/exynos/ec_commands.h
+++ b/sys/arch/armv7/exynos/ec_commands.h
@@ -390,7 +390,7 @@ struct ec_response_get_cmd_versions {
} __packed;
/*
- * Check EC communcations status (busy). This is needed on i2c/spi but not
+ * Check EC communications status (busy). This is needed on i2c/spi but not
* on lpc since it has its own out-of-band busy indicator.
*
* lpc must read the status from the command register. Attempting this on
diff --git a/sys/arch/armv7/marvell/mvmpic.c b/sys/arch/armv7/marvell/mvmpic.c
index 11d05bf58c4..e34ac37762e 100644
--- a/sys/arch/armv7/marvell/mvmpic.c
+++ b/sys/arch/armv7/marvell/mvmpic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mvmpic.c,v 1.6 2023/03/05 04:30:08 jmatthew Exp $ */
+/* $OpenBSD: mvmpic.c,v 1.7 2023/04/10 04:21:20 jsg Exp $ */
/*
* Copyright (c) 2007,2009,2011 Dale Rahn <drahn@openbsd.org>
* Copyright (c) 2015 Patrick Wildt <patrick@blueri.se>
@@ -129,7 +129,7 @@ mpic_attach(struct device *parent, struct device *self, void *args)
/* Clear pending IPIs */
bus_space_write_4(sc->sc_iot, sc->sc_c_ioh, MPIC_DOORBELL_CAUSE, 0);
- /* Enable hardware priorization selection */
+ /* Enable hardware prioritization selection */
bus_space_write_4(sc->sc_iot, sc->sc_m_ioh, MPIC_CTRL,
MPIC_CTRL_PRIO_EN);
diff --git a/sys/arch/hppa/include/atomic.h b/sys/arch/hppa/include/atomic.h
index 54889a670aa..b7ecc3c2cf2 100644
--- a/sys/arch/hppa/include/atomic.h
+++ b/sys/arch/hppa/include/atomic.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: atomic.h,v 1.11 2018/05/14 09:33:20 kettenis Exp $ */
+/* $OpenBSD: atomic.h,v 1.12 2023/04/10 04:21:20 jsg Exp $ */
/* Public Domain */
@@ -246,7 +246,7 @@ atomic_clearbits_long(volatile unsigned long *uip, unsigned long v)
/*
* Although the PA-RISC 2.0 architecture allows an implementation to
- * be weakly ordered, all PA-RISC processers to date implement a
+ * be weakly ordered, all PA-RISC processors to date implement a
* strong memory ordering model. So all we need is a compiler
* barrier.
*/
diff --git a/sys/arch/i386/include/mpbiosreg.h b/sys/arch/i386/include/mpbiosreg.h
index d1af6118619..c84a66ecbcd 100644
--- a/sys/arch/i386/include/mpbiosreg.h
+++ b/sys/arch/i386/include/mpbiosreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpbiosreg.h,v 1.5 2011/03/23 16:54:35 pirofti Exp $ */
+/* $OpenBSD: mpbiosreg.h,v 1.6 2023/04/10 04:21:20 jsg Exp $ */
/* $NetBSD: mpbiosreg.h,v 1.1.2.3 2000/02/29 13:17:51 sommerfeld Exp $ */
/*-
@@ -52,7 +52,7 @@
#define MPS_MCT_NTYPES 5
/*
- * Interrupt typess
+ * Interrupt types
*/
#define MPS_INTTYPE_INT 0
diff --git a/sys/arch/luna88k/stand/boot/ufs_disksubr.c b/sys/arch/luna88k/stand/boot/ufs_disksubr.c
index 80e0ef8113f..5069ae456d5 100644
--- a/sys/arch/luna88k/stand/boot/ufs_disksubr.c
+++ b/sys/arch/luna88k/stand/boot/ufs_disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ufs_disksubr.c,v 1.6 2022/10/14 13:22:57 krw Exp $ */
+/* $OpenBSD: ufs_disksubr.c,v 1.7 2023/04/10 04:21:20 jsg Exp $ */
/* $NetBSD: ufs_disksubr.c,v 1.2 2013/01/14 01:37:57 tsutsui Exp $ */
/*
@@ -106,7 +106,7 @@ sun_extended_sum(struct sun_disklabel *sl, void *end)
/*
* Attempt to read a disk label from a device
- * using the indicated stategy routine.
+ * using the indicated strategy routine.
* The label must be partly set up before this:
* secpercyl and anything required in the strategy routine
* (e.g., sector size) must be filled in before calling us.
diff --git a/sys/arch/sh/sh/clock.c b/sys/arch/sh/sh/clock.c
index 2f6bc799ffe..409a1833482 100644
--- a/sys/arch/sh/sh/clock.c
+++ b/sys/arch/sh/sh/clock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clock.c,v 1.13 2023/03/12 22:18:58 cheloha Exp $ */
+/* $OpenBSD: clock.c,v 1.14 2023/04/10 04:21:20 jsg Exp $ */
/* $NetBSD: clock.c,v 1.32 2006/09/05 11:09:36 uwe Exp $ */
/*-
@@ -56,7 +56,7 @@
* + default 64Hz
* + use TMU channel 0 as clock interrupt source.
* + use TMU channel 1 as emulated software interrupt source.
- * + use TMU channel 2 as freeruuning counter for timecounter.
+ * + use TMU channel 2 as freerunning counter for timecounter.
* + If RTC module is active, TMU channel 0 input source is RTC output.
* (1.6384kHz)
*/
diff --git a/sys/arch/sparc64/sparc64/mdesc.c b/sys/arch/sparc64/sparc64/mdesc.c
index 6dd900c709c..6fe713d07bf 100644
--- a/sys/arch/sparc64/sparc64/mdesc.c
+++ b/sys/arch/sparc64/sparc64/mdesc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mdesc.c,v 1.8 2019/10/20 16:27:19 kettenis Exp $ */
+/* $OpenBSD: mdesc.c,v 1.9 2023/04/10 04:21:20 jsg Exp $ */
/*
* Copyright (c) 2009 Mark Kettenis
*
@@ -116,7 +116,7 @@ pri_init(void)
/*
* We can only fetch the physical resource inventory this way
- * if the firmware supports parellel boot.
+ * if the firmware supports parallel boot.
*/
if (prom_set_sun4v_api_version(HSVC_GROUP_PARALLEL_BOOT, 1, 0, &minor))
return;