Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sgimips/mace appease gcc by removing now unnecessar...
details: https://anonhg.NetBSD.org/src/rev/49122a8454e6
branches: trunk
changeset: 816598:49122a8454e6
user: macallan <macallan%NetBSD.org@localhost>
date: Wed Jul 13 21:33:28 2016 +0000
description:
appease gcc by removing now unnecessary cast
diffstat:
sys/arch/sgimips/mace/mace.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 31d4032fd346 -r 49122a8454e6 sys/arch/sgimips/mace/mace.c
--- a/sys/arch/sgimips/mace/mace.c Wed Jul 13 21:31:03 2016 +0000
+++ b/sys/arch/sgimips/mace/mace.c Wed Jul 13 21:33:28 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mace.c,v 1.22 2015/06/30 03:55:23 macallan Exp $ */
+/* $NetBSD: mace.c,v 1.23 2016/07/13 21:33:28 macallan Exp $ */
/*
* Copyright (c) 2003 Christopher Sekiya
@@ -45,7 +45,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mace.c,v 1.22 2015/06/30 03:55:23 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mace.c,v 1.23 2016/07/13 21:33:28 macallan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -317,7 +317,7 @@
/* irq 4 is the ISA cascade interrupt. Must handle with care. */
if (irqs & (1 << 4)) {
- isa_irq = mips3_ld((volatile uint64_t *)MIPS_PHYS_TO_KSEG1(MACE_BASE
+ isa_irq = mips3_ld(MIPS_PHYS_TO_KSEG1(MACE_BASE
+ MACE_ISA_INT_STATUS));
for (i = 0; i < MACE_NINTR; i++) {
if ((maceintrtab[i].irq == (1 << 4)) &&
Home |
Main Index |
Thread Index |
Old Index