Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/ia64/acpi change "InterruptNumber" to "irq" to fix ...



details:   https://anonhg.NetBSD.org/src/rev/fd36dddf07e5
branches:  trunk
changeset: 445916:fd36dddf07e5
user:      scole <scole%NetBSD.org@localhost>
date:      Sat Nov 17 20:53:35 2018 +0000

description:
change "InterruptNumber" to "irq" to fix compilation

diffstat:

 sys/arch/ia64/acpi/acpi_machdep.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 2096e9af5c64 -r fd36dddf07e5 sys/arch/ia64/acpi/acpi_machdep.c
--- a/sys/arch/ia64/acpi/acpi_machdep.c Sat Nov 17 20:36:23 2018 +0000
+++ b/sys/arch/ia64/acpi/acpi_machdep.c Sat Nov 17 20:53:35 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acpi_machdep.c,v 1.8 2018/11/16 23:03:55 jmcneill Exp $        */
+/*     $NetBSD: acpi_machdep.c,v 1.9 2018/11/17 20:53:35 scole Exp $   */
 /*
  * Copyright (c) 2009 KIYOHARA Takashi
  * All rights reserved.
@@ -28,7 +28,7 @@
  * Machine-dependent routines for ACPICA.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_machdep.c,v 1.8 2018/11/16 23:03:55 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_machdep.c,v 1.9 2018/11/17 20:53:35 scole Exp $");
 
 #include <sys/param.h>
 
@@ -84,13 +84,13 @@
        };
 
        if (has_i8259 && irq < 16)
-               return isa_irq_to_vector_map[InterruptNumber];
+               return isa_irq_to_vector_map[irq];
 
        return irq;
 }
 
 ACPI_STATUS
-acpi_md_OsInstallInterruptHandler(UINT32 InterruptNumber,
+acpi_md_OsInstallInterruptHandler(UINT32 irq,
                                  ACPI_OSD_HANDLER ServiceRoutine,
                                  void *Context, void **cookiep,
                                  const char *xname)



Home | Main Index | Thread Index | Old Index