From a192f6dd475a250b2a70a96676538867f9c74927 Mon Sep 17 00:00:00 2001 From: jsg Date: Sun, 4 Sep 2022 06:49:11 +0000 Subject: [PATCH] spelling --- sys/arch/i386/i386/acpi_wakecode.S | 2 +- sys/arch/m88k/m88k/eh_common.S | 14 +++++++------- sys/arch/macppc/macppc/locore.S | 4 ++-- sys/arch/riscv64/dev/stfpinctrl.c | 4 ++-- sys/dev/pci/bktr/bktr_core.h | 4 ++-- sys/netinet/igmp.c | 4 ++-- sys/netinet6/mld6.c | 4 ++-- sys/uvm/uvm_object.h | 4 ++-- 8 files changed, 20 insertions(+), 20 deletions(-) diff --git a/sys/arch/i386/i386/acpi_wakecode.S b/sys/arch/i386/i386/acpi_wakecode.S index f0bd7338920..60a67a7516c 100644 --- a/sys/arch/i386/i386/acpi_wakecode.S +++ b/sys/arch/i386/i386/acpi_wakecode.S @@ -258,7 +258,7 @@ _C_LABEL(acpi_protected_mode_resume): /* * Shortly, we'll restore the TSS for the task that was running - * immediately before suspend occured. Since that task was the + * immediately before suspend occurred. Since that task was the * running task, it's TSS busy flag will have been set. We need * to clear that bit (since we're effectively "restarting" the OS) * in order to convince the processor that the task is no longer diff --git a/sys/arch/m88k/m88k/eh_common.S b/sys/arch/m88k/m88k/eh_common.S index 8275e273f74..18219b895d3 100644 --- a/sys/arch/m88k/m88k/eh_common.S +++ b/sys/arch/m88k/m88k/eh_common.S @@ -1,4 +1,4 @@ -/* $OpenBSD: eh_common.S,v 1.62 2017/06/22 13:21:10 tom Exp $ */ +/* $OpenBSD: eh_common.S,v 1.63 2022/09/04 06:49:11 jsg Exp $ */ /* * Mach Operating System * Copyright (c) 1993-1991 Carnegie Mellon University @@ -261,7 +261,7 @@ * EF_SR3 * A place to save the exception-time SR3 from just after the * time when an exception is raised until just after the FPU - * has been restarted. This does not necessarly conflict with + * has been restarted. This does not necessarily conflict with * the general registers (though it can if you're not careful) * and so we can use a spot later used to save a general register. */ @@ -792,7 +792,7 @@ ASLOCAL(badaddr_switch) br _ASM_LABEL(badaddr__return_nonzero) /* - * The load attemps below will either fault or not. If they fault, + * The load attempts below will either fault or not. If they fault, * execution will go to data_access_handler, then to * ignore_data_exception, then to badaddr__return_nonzero, which * will return to the calling function. @@ -1374,7 +1374,7 @@ ASLOCAL(m88100_setup_phase_two) * Other data pipeline control registers, if appropriate. * FPU control registers, if appropriate. * Exception SR3, if appropriate. - * Held temporarly in the exception frame: + * Held temporarily in the exception frame: * Return address to the calling exception handler. * * immediate goal: @@ -1508,7 +1508,7 @@ ASLOCAL(m88100_fpu_enable) #endif /* turn interrupts back on unless they were not enabled when the - trap occured */ + trap occurred */ bb1.n PSR_INTERRUPT_DISABLE_BIT, %r6, 7f ld %r3, %r30, EF_DMT0 @@ -1867,7 +1867,7 @@ ASLOCAL(m88110_setup_phase_one) NOP /* - * If we were in the kernel when the exception occured, we have + * If we were in the kernel when the exception occurred, we have * a valid stack. Keep using it, and build the frame on it. * * Note that if this exception is an NMI, we might be currently @@ -2110,7 +2110,7 @@ ASLOCAL(m88110_shadow_enable) ld %r14, %r30, EF_RET /* don't turn interrupts back on unless they were enabled when the - trap occured */ + trap occurred */ bb1 PSR_INTERRUPT_DISABLE_BIT, %r6, 8f ld %r2, %r30, EF_VECTOR diff --git a/sys/arch/macppc/macppc/locore.S b/sys/arch/macppc/macppc/locore.S index 63911eba2fa..deeee723a97 100644 --- a/sys/arch/macppc/macppc/locore.S +++ b/sys/arch/macppc/macppc/locore.S @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.S,v 1.58 2020/11/28 19:49:30 gkoehler Exp $ */ +/* $OpenBSD: locore.S,v 1.59 2022/09/04 06:49:11 jsg Exp $ */ /* $NetBSD: locore.S,v 1.2 1996/10/16 19:33:09 ws Exp $ */ /* @@ -632,7 +632,7 @@ _C_LABEL(ddbsize) = .-_C_LABEL(ddblow) #endif /* DDB */ /* - * If this interrupt occured between the runqueue check and the setting + * If this interrupt occurred between the runqueue check and the setting * of the POW bit, do no enter to sleep. We do that in order to process * the result of this interrupt directly and not when coming back from * sleep, when the next clock tick or interrupt will fire. diff --git a/sys/arch/riscv64/dev/stfpinctrl.c b/sys/arch/riscv64/dev/stfpinctrl.c index fb1090189e0..ae267778fd9 100644 --- a/sys/arch/riscv64/dev/stfpinctrl.c +++ b/sys/arch/riscv64/dev/stfpinctrl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: stfpinctrl.c,v 1.1 2022/06/08 08:40:53 kettenis Exp $ */ +/* $OpenBSD: stfpinctrl.c,v 1.2 2022/09/04 06:49:11 jsg Exp $ */ /* * Copyright (c) 2022 Mark Kettenis * @@ -114,7 +114,7 @@ stfpinctrl_attach(struct device *parent, struct device *self, void *aux) switch (sel) { case 0: default: - /* No GPIOs availavle. */ + /* No GPIOs available. */ return; case 1: sc->sc_padctl_gpio = PAD_GPIO(0); diff --git a/sys/dev/pci/bktr/bktr_core.h b/sys/dev/pci/bktr/bktr_core.h index 6e450148fcc..f14b002d140 100644 --- a/sys/dev/pci/bktr/bktr_core.h +++ b/sys/dev/pci/bktr/bktr_core.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bktr_core.h,v 1.4 2022/01/09 05:42:58 jsg Exp $ */ +/* $OpenBSD: bktr_core.h,v 1.5 2022/09/04 06:49:11 jsg Exp $ */ /* $FreeBSD: src/sys/dev/bktr/bktr_core.h,v 1.4 2000/06/26 09:41:32 roger Exp $ */ /* @@ -72,7 +72,7 @@ void msp_dpl_write( bktr_ptr_t bktr, int i2c_addr, unsigned char dev, /* device name for printf */ const char *bktr_name(bktr_ptr_t bktr); -/* Prototypes for attatch and interrupt functions */ +/* Prototypes for attach and interrupt functions */ void common_bktr_attach( bktr_ptr_t bktr, int unit, u_int pci_id, u_int rev ); int common_bktr_intr( void *arg ); diff --git a/sys/netinet/igmp.c b/sys/netinet/igmp.c index 9e01ea88870..112ad8c9705 100644 --- a/sys/netinet/igmp.c +++ b/sys/netinet/igmp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: igmp.c,v 1.80 2022/08/22 21:02:44 bluhm Exp $ */ +/* $OpenBSD: igmp.c,v 1.81 2022/09/04 06:49:11 jsg Exp $ */ /* $NetBSD: igmp.c,v 1.15 1996/02/13 23:41:25 christos Exp $ */ /* @@ -530,7 +530,7 @@ igmp_fasttimo(void) * Quick check to see if any work needs to be done, in order * to minimize the overhead of fasttimo processing. * Variable igmp_timers_are_running is read atomically, but without - * lock intensionally. In case it is not set due to MP races, we may + * lock intentionally. In case it is not set due to MP races, we may * miss to check the timers. Then run the loop at next fast timeout. */ if (!igmp_timers_are_running) diff --git a/sys/netinet6/mld6.c b/sys/netinet6/mld6.c index a58009650f7..205d7cc297f 100644 --- a/sys/netinet6/mld6.c +++ b/sys/netinet6/mld6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mld6.c,v 1.58 2022/08/22 21:02:44 bluhm Exp $ */ +/* $OpenBSD: mld6.c,v 1.59 2022/09/04 06:49:11 jsg Exp $ */ /* $KAME: mld6.c,v 1.26 2001/02/16 14:50:35 itojun Exp $ */ /* @@ -331,7 +331,7 @@ mld6_fasttimeo(void) * Quick check to see if any work needs to be done, in order * to minimize the overhead of fasttimo processing. * Variable mld6_timers_are_running is read atomically, but without - * lock intensionally. In case it is not set due to MP races, we may + * lock intentionally. In case it is not set due to MP races, we may * miss to check the timers. Then run the loop at next fast timeout. */ if (!mld6_timers_are_running) diff --git a/sys/uvm/uvm_object.h b/sys/uvm/uvm_object.h index 13ecdda6da2..6a14f501500 100644 --- a/sys/uvm/uvm_object.h +++ b/sys/uvm/uvm_object.h @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_object.h,v 1.29 2021/12/15 12:53:53 mpi Exp $ */ +/* $OpenBSD: uvm_object.h,v 1.30 2022/09/04 06:49:11 jsg Exp $ */ /* $NetBSD: uvm_object.h,v 1.11 2001/03/09 01:02:12 chs Exp $ */ /* @@ -63,7 +63,7 @@ struct uvm_object { * memory objects don't have reference counts -- they never die). * * this value is used to detected kernel object mappings at uvm_unmap() - * time. normally when an object is unmapped its pages eventaully become + * time. normally when an object is unmapped its pages eventually become * deactivated and then paged out and/or freed. this is not useful * for kernel objects... when a kernel object is unmapped we always want * to free the resources associated with the mapping. UVM_OBJ_KERN -- 2.20.1