changeset 9961:90652b897931

6837313 T5440 panicing while running snv_110 - panic message: bad kernel MMU trap at TL 2
author An Bui <An.Bui@Sun.COM>
date Wed, 24 Jun 2009 12:04:27 -0700
parents 1c799f586b2f
children 2b6bca766b65
files usr/src/uts/sun4v/sys/n2rng.h
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/sun4v/sys/n2rng.h	Wed Jun 24 16:43:44 2009 +0200
+++ b/usr/src/uts/sun4v/sys/n2rng.h	Wed Jun 24 12:04:27 2009 -0700
@@ -19,15 +19,13 @@
  * CDDL HEADER END
  */
 /*
- * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
 #ifndef	_SYS_N2RNG_H
 #define	_SYS_N2RNG_H
 
-#pragma ident	"%Z%%M%	%I%	%E% SMI"
-
 /* skip following stuff when included in n2rng_hcall.s */
 #ifndef _ASM
 #include <sys/types.h>
@@ -236,7 +234,7 @@
 	ddi_taskq_t		*n_taskq;
 } n2rng_t;
 
-typedef kstat_named_t n2rng_kstat_bias_t[N2RNG_NOSC][N2RNG_NBIASES];
+typedef kstat_named_t n2rng_kstat_bias_t[N2RNG_MAX_RNGS][N2RNG_NOSC];
 
 typedef struct n2rng_stat n2rng_stat_t;
 struct n2rng_stat {