svn commit: r225799 - stable/9/sys/kern

Alexander Motin mav at FreeBSD.org
Tue Sep 27 15:08:59 UTC 2011


Author: mav
Date: Tue Sep 27 15:08:59 2011
New Revision: 225799
URL: http://svn.freebsd.org/changeset/base/225799

Log:
  MFC r225788:
  Fix interrupt counters dumping on SW_WATCHDOG fire.
  
  Approved by:	re (kib)

Modified:
  stable/9/sys/kern/kern_clock.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/amd64/include/xen/   (props changed)
  stable/9/sys/boot/   (props changed)
  stable/9/sys/boot/i386/efi/   (props changed)
  stable/9/sys/boot/ia64/efi/   (props changed)
  stable/9/sys/boot/ia64/ski/   (props changed)
  stable/9/sys/boot/powerpc/boot1.chrp/   (props changed)
  stable/9/sys/boot/powerpc/ofw/   (props changed)
  stable/9/sys/cddl/contrib/opensolaris/   (props changed)
  stable/9/sys/conf/   (props changed)
  stable/9/sys/contrib/dev/acpica/   (props changed)
  stable/9/sys/contrib/octeon-sdk/   (props changed)
  stable/9/sys/contrib/pf/   (props changed)
  stable/9/sys/contrib/x86emu/   (props changed)

Modified: stable/9/sys/kern/kern_clock.c
==============================================================================
--- stable/9/sys/kern/kern_clock.c	Tue Sep 27 14:28:07 2011	(r225798)
+++ stable/9/sys/kern/kern_clock.c	Tue Sep 27 15:08:59 2011	(r225799)
@@ -842,7 +842,7 @@ watchdog_fire(void)
 	curintr = intrcnt;
 	curname = intrnames;
 	inttotal = 0;
-	nintr = sintrcnt;
+	nintr = sintrcnt / sizeof(u_long);
 
 	printf("interrupt                   total\n");
 	while (--nintr >= 0) {


More information about the svn-src-stable mailing list