Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Dec 2011 17:12:59 +0000 (UTC)
From:      Rafal Jaworowski <raj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r228504 - head/sys/arm/arm
Message-ID:  <201112141712.pBEHCxJ1007581@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: raj
Date: Wed Dec 14 17:12:59 2011
New Revision: 228504
URL: http://svn.freebsd.org/changeset/base/228504

Log:
  Make *intr{cnt,names} on ARM reside in data section, similar to other arches.
  
  sintrnames and sintrcnt are initialized with non-zero values, which were
  discarded by the .bss directive, so consumers like "vmstat -i" were not
  getting correct data.
  
  Submitted by:	Lukasz Plachno
  Obtained from:	Semihalf
  MFC after:	1 month

Modified:
  head/sys/arm/arm/irq_dispatch.S

Modified: head/sys/arm/arm/irq_dispatch.S
==============================================================================
--- head/sys/arm/arm/irq_dispatch.S	Wed Dec 14 16:47:53 2011	(r228503)
+++ head/sys/arm/arm/irq_dispatch.S	Wed Dec 14 17:12:59 2011	(r228504)
@@ -98,10 +98,9 @@ ASENTRY_NP(irq_entry)
 	PULLFRAMEFROMSVCANDEXIT
 	movs	pc, lr			/* Exit */
 
-	.bss
+	.data
 	.align	0
 
-
 	.global _C_LABEL(intrnames), _C_LABEL(sintrnames)
 	.global _C_LABEL(intrcnt), _C_LABEL(sintrcnt)
 _C_LABEL(intrnames): 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112141712.pBEHCxJ1007581>