From 743758bd350e1036b9494760558c6d51a2a2fc03 Mon Sep 17 00:00:00 2001 From: kochi Date: Sat, 10 Apr 2004 14:17:21 +0000 Subject: [PATCH] whitespace nit --- sys/arch/x86/x86/acpi_machdep.c | 6 +++--- sys/arch/x86/x86/mpacpi.c | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sys/arch/x86/x86/acpi_machdep.c b/sys/arch/x86/x86/acpi_machdep.c index 13f4c26537ab..400fcc193589 100644 --- a/sys/arch/x86/x86/acpi_machdep.c +++ b/sys/arch/x86/x86/acpi_machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: acpi_machdep.c,v 1.5 2003/10/10 20:16:54 tron Exp $ */ +/* $NetBSD: acpi_machdep.c,v 1.6 2004/04/10 14:17:21 kochi Exp $ */ /* * Copyright 2001 Wasabi Systems, Inc. @@ -40,7 +40,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: acpi_machdep.c,v 1.5 2003/10/10 20:16:54 tron Exp $"); +__KERNEL_RCSID(0, "$NetBSD: acpi_machdep.c,v 1.6 2004/04/10 14:17:21 kochi Exp $"); #include #include @@ -323,7 +323,7 @@ acpi_md_OsWritable(void *Pointer, UINT32 Length) return (rv); } -void +void acpi_md_OsDisableInterrupt(void) { disable_intr(); diff --git a/sys/arch/x86/x86/mpacpi.c b/sys/arch/x86/x86/mpacpi.c index 280a774b78ca..3162832e2f4d 100644 --- a/sys/arch/x86/x86/mpacpi.c +++ b/sys/arch/x86/x86/mpacpi.c @@ -1,4 +1,4 @@ -/* $NetBSD: mpacpi.c,v 1.19 2004/03/24 09:15:38 martin Exp $ */ +/* $NetBSD: mpacpi.c,v 1.20 2004/04/10 14:17:21 kochi Exp $ */ /* * Copyright (c) 2003 Wasabi Systems, Inc. @@ -36,7 +36,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: mpacpi.c,v 1.19 2004/03/24 09:15:38 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mpacpi.c,v 1.20 2004/04/10 14:17:21 kochi Exp $"); #include "opt_acpi.h" #include "opt_mpbios.h" @@ -183,7 +183,7 @@ mpacpi_nonpci_intr(APIC_HEADER *hdrp, void *aux) ioapic->sc_pins[pin].ip_map = mpi; mpi->ioapic_ih = APIC_INT_VIA_APIC | (ioapic->sc_apicid << APIC_INT_APIC_SHIFT) | - (pin << APIC_INT_PIN_SHIFT); + (pin << APIC_INT_PIN_SHIFT); mpi->flags = ioapic_nmi->Polarity | (ioapic_nmi->TriggerMode << 2); mpi->global_int = ioapic_nmi->Interrupt; @@ -298,7 +298,7 @@ mpacpi_config_cpu(APIC_HEADER *hdrp, void *aux) caa.cpu_func = &mp_cpu_funcs; config_found_sm(parent, &caa, mpacpi_print, mpacpi_match); - + } } return AE_OK; @@ -599,7 +599,7 @@ mpacpi_config_irouting(struct acpi_softc *acpi) if (mpr->mpr_bus != -1) { mpw.mpw_acpi = acpi; mpw.mpw_mpr = mpr; - AcpiWalkNamespace(ACPI_TYPE_DEVICE, + AcpiWalkNamespace(ACPI_TYPE_DEVICE, mpr->mpr_handle, 1, mpacpi_pcihier_cb, &mpw, NULL); } @@ -674,7 +674,7 @@ mpacpi_config_irouting(struct acpi_softc *acpi) ioapic->sc_pins[i].ip_map = mpi; index++; } - + mpacpi_intr_index = index; if (acpi_madt_map() != AE_OK) panic("failed to map the MADT a second time");