Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/emips/emips Fix incorrect argument order of cpu_int...



details:   https://anonhg.NetBSD.org/src/rev/7d5066f00f42
branches:  trunk
changeset: 967456:7d5066f00f42
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Mon Dec 09 16:19:11 2019 +0000

description:
Fix incorrect argument order of cpu_intr(), slipped in rev 1.2.

Pointed out by maya@ in PR/45080.

Should be pulled up to netbsd-9.

diffstat:

 sys/arch/emips/emips/interrupt.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 9c15dee642ae -r 7d5066f00f42 sys/arch/emips/emips/interrupt.c
--- a/sys/arch/emips/emips/interrupt.c  Mon Dec 09 16:06:19 2019 +0000
+++ b/sys/arch/emips/emips/interrupt.c  Mon Dec 09 16:19:11 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: interrupt.c,v 1.6 2016/07/11 16:18:56 matt Exp $       */
+/*     $NetBSD: interrupt.c,v 1.7 2019/12/09 16:19:11 tsutsui Exp $    */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: interrupt.c,v 1.6 2016/07/11 16:18:56 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: interrupt.c,v 1.7 2019/12/09 16:19:11 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -95,7 +95,7 @@
  * emips uses one line for all I/O interrupts (0x8000).
  */
 void
-cpu_intr(int ppl, uint32_t status, vaddr_t pc)
+cpu_intr(int ppl, vaddr_t pc, uint32_t status)
 {
        uint32_t ipending;
        int ipl;



Home | Main Index | Thread Index | Old Index