mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
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
This commit is contained in:
parent
5734c46c68
commit
dd63f0ab98
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228504
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user