summaryrefslogtreecommitdiffstats
path: root/sys/arm/sa11x0/sa11x0_irq.S
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2011-07-18 15:19:40 +0000
committerattilio <attilio@FreeBSD.org>2011-07-18 15:19:40 +0000
commit9a6ff5ad378cfaaa99c5162e2b0f6e4cb6a3c796 (patch)
tree3d2deee4220ced3fd75b40dbd48afd2ed84428f6 /sys/arm/sa11x0/sa11x0_irq.S
parent838b39dd924348287b3ed188b8a6b642390c9429 (diff)
downloadFreeBSD-src-9a6ff5ad378cfaaa99c5162e2b0f6e4cb6a3c796.zip
FreeBSD-src-9a6ff5ad378cfaaa99c5162e2b0f6e4cb6a3c796.tar.gz
- Remove the eintrcnt/eintrnames usage and introduce the concept of
sintrcnt/sintrnames which are symbols containing the size of the 2 tables. - For amd64/i386 remove the storage of intr* stuff from assembly files. This area can be widely improved by applying the same to other architectures and likely finding an unified approach among them and move the whole code to be MI. More work in this area is expected to happen fairly soon. No MFC is previewed for this patch. Tested by: pluknet Reviewed by: jhb Approved by: re (kib)
Diffstat (limited to 'sys/arm/sa11x0/sa11x0_irq.S')
-rw-r--r--sys/arm/sa11x0/sa11x0_irq.S13
1 files changed, 4 insertions, 9 deletions
diff --git a/sys/arm/sa11x0/sa11x0_irq.S b/sys/arm/sa11x0/sa11x0_irq.S
index 30f250c..3cc3d14 100644
--- a/sys/arm/sa11x0/sa11x0_irq.S
+++ b/sys/arm/sa11x0/sa11x0_irq.S
@@ -118,16 +118,11 @@ ENTRY(sa11x0_activateirqs)
mov r1, #0xffffffff
str r1, [r0, #(SAIPIC_MR)]
mov pc, lr
-#ifdef IRQSTATS
-Lintrcnt:
- .word _C_LABEL(intrcnt)
-#endif
- .global _C_LABEL(intrnames), _C_LABEL(eintrnames)
- .global _C_LABEL(eintrcnt)
+ .global _C_LABEL(intrnames), _C_LABEL(sintrnames)
_C_LABEL(intrnames):
-_C_LABEL(eintrnames):
-_C_LABEL(eintrcnt):
+_C_LABEL(sintrnames):
+ .word 0
.globl _C_LABEL(intrcnt), _C_LABEL(sintrcnt)
@@ -135,4 +130,4 @@ _C_LABEL(intrcnt):
.space ICU_LEN*4 /* XXX Should be linked to number of interrupts */
_C_LABEL(sintrcnt):
- .space 32*4
+ .word ICU_LEN*4
OpenPOWER on IntegriCloud