Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sbmips/sbmips Neaten slightly.
details: https://anonhg.NetBSD.org/src/rev/4bf2323483a2
branches: trunk
changeset: 523234:4bf2323483a2
user: simonb <simonb%NetBSD.org@localhost>
date: Wed Mar 06 07:51:02 2002 +0000
description:
Neaten slightly.
diffstat:
sys/arch/sbmips/sbmips/sb1250_icu.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r 613a3b10054f -r 4bf2323483a2 sys/arch/sbmips/sbmips/sb1250_icu.c
--- a/sys/arch/sbmips/sbmips/sb1250_icu.c Wed Mar 06 07:47:57 2002 +0000
+++ b/sys/arch/sbmips/sbmips/sb1250_icu.c Wed Mar 06 07:51:02 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sb1250_icu.c,v 1.1 2002/03/06 02:13:52 simonb Exp $ */
+/* $NetBSD: sb1250_icu.c,v 1.2 2002/03/06 07:51:02 simonb Exp $ */
/*
* Copyright 2000, 2001
@@ -98,13 +98,13 @@
static void
sb1250_cpu_intr(uint32_t status, uint32_t cause, uint32_t pc, uint32_t ipending)
{
- int i, j;
+ int i, j, s;
uint64_t sstatus;
uint32_t cycles;
uvmexp.intrs++;
-{ int s = splhigh();
+ s = splhigh(); /* XXX */
/* XXX do something if 5? */
if (ipending & (MIPS_INT_MASK_0 << 5)) {
@@ -144,7 +144,7 @@
#endif
}
-splx(s); }
+ splx(s); /* XXX */
}
static void
Home |
Main Index |
Thread Index |
Old Index