Module Name: src
Committed By: tsutsui
Date: Wed Mar 16 13:38:35 UTC 2011
Modified Files:
src/sys/arch/hpcmips/vr: vr.c
Log Message:
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...
To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/sys/arch/hpcmips/vr/vr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/hpcmips/vr/vr.c
diff -u src/sys/arch/hpcmips/vr/vr.c:1.62 src/sys/arch/hpcmips/vr/vr.c:1.63
--- src/sys/arch/hpcmips/vr/vr.c:1.62 Wed Mar 16 13:26:55 2011
+++ src/sys/arch/hpcmips/vr/vr.c Wed Mar 16 13:38:34 2011
@@ -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,
},
};