Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hpcmips/vr Set sr_bits[IPL_HIGH] properly, rather t...
details: https://anonhg.NetBSD.org/src/rev/9e39b7941ccc
branches: trunk
changeset: 763292:9e39b7941ccc
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Wed Mar 16 13:38:34 2011 +0000
description:
Set sr_bits[IPL_HIGH] properly, rather than setting sr_bits[IPL_VM] twice.
I wonder if gcc could warn such botch in C99 array or member initializers...
diffstat:
sys/arch/hpcmips/vr/vr.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e06ef7df9230 -r 9e39b7941ccc sys/arch/hpcmips/vr/vr.c
--- a/sys/arch/hpcmips/vr/vr.c Wed Mar 16 13:26:55 2011 +0000
+++ b/sys/arch/hpcmips/vr/vr.c Wed Mar 16 13:38:34 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vr.c,v 1.62 2011/03/16 13:26:55 tsutsui Exp $ */
+/* $NetBSD: vr.c,v 1.63 2011/03/16 13:38:34 tsutsui Exp $ */
/*-
* Copyright (c) 1999-2002
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vr.c,v 1.62 2011/03/16 13:26:55 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vr.c,v 1.63 2011/03/16 13:38:34 tsutsui Exp $");
#include "opt_vr41xx.h"
#include "opt_tx39xx.h"
@@ -141,7 +141,7 @@
| MIPS_INT_MASK_0
| MIPS_INT_MASK_1,
[IPL_DDB] = MIPS_INT_MASK,
- [IPL_VM] = MIPS_INT_MASK,
+ [IPL_HIGH] = MIPS_INT_MASK,
},
};
Home |
Main Index |
Thread Index |
Old Index