summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2011-08-02 17:49:27 +0000
committerattilio <attilio@FreeBSD.org>2011-08-02 17:49:27 +0000
commitcffd41ec43dd1f9d98363a0097d3b11e0bc43960 (patch)
treee5302b62c329e75b9921735b17fe54ca4383f533 /sys/arm
parentf67fa98336128ada863c7dff454e88b92c6ff7d6 (diff)
downloadFreeBSD-src-cffd41ec43dd1f9d98363a0097d3b11e0bc43960.zip
FreeBSD-src-cffd41ec43dd1f9d98363a0097d3b11e0bc43960.tar.gz
Fix for arm and mips case the size of storage for sintrcnt/sintrnames.
It seems that "info as" is not much precise on what expect by pseudo-op .word, by the way. No MFC is previewed for this patch. Tested by: andreast, pluknet Approved by: re (kib)
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/arm/irq_dispatch.S4
-rw-r--r--sys/arm/sa11x0/sa11x0_irq.S2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/arm/arm/irq_dispatch.S b/sys/arm/arm/irq_dispatch.S
index e357756..c919de0 100644
--- a/sys/arm/arm/irq_dispatch.S
+++ b/sys/arm/arm/irq_dispatch.S
@@ -109,9 +109,9 @@ _C_LABEL(intrnames):
_C_LABEL(intrcnt):
.space NIRQ * 4
_C_LABEL(sintrnames):
- .word NIRQ * (MAXCOMLEN + 1)
+ .int NIRQ * (MAXCOMLEN + 1)
_C_LABEL(sintrcnt):
- .word NIRQ * 4
+ .int NIRQ * 4
.global _C_LABEL(current_intr_depth)
_C_LABEL(current_intr_depth):
diff --git a/sys/arm/sa11x0/sa11x0_irq.S b/sys/arm/sa11x0/sa11x0_irq.S
index 3cc3d14..1cacc2d 100644
--- a/sys/arm/sa11x0/sa11x0_irq.S
+++ b/sys/arm/sa11x0/sa11x0_irq.S
@@ -122,7 +122,7 @@ ENTRY(sa11x0_activateirqs)
.global _C_LABEL(intrnames), _C_LABEL(sintrnames)
_C_LABEL(intrnames):
_C_LABEL(sintrnames):
- .word 0
+ .int 0
.globl _C_LABEL(intrcnt), _C_LABEL(sintrcnt)
OpenPOWER on IntegriCloud