summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2011-07-19 12:41:57 +0000
committerattilio <attilio@FreeBSD.org>2011-07-19 12:41:57 +0000
commit1f74ad4e1b0cddf974863064f97781d560c019ad (patch)
tree0115e175321620d92d6421a71c0e0856807dc58f /sys/powerpc
parenta73e834ebb2ee705e131501fdea63d05aadae527 (diff)
downloadFreeBSD-src-1f74ad4e1b0cddf974863064f97781d560c019ad.zip
FreeBSD-src-1f74ad4e1b0cddf974863064f97781d560c019ad.tar.gz
On 64 bit architectures size_t is 8 bytes, thus it should use an 8 bytes
storage. Fix the sintrcnt/sintrnames specification. No MFC is previewed for this patch. Reported, reviewed and tested by: marcel Approved by: re (kib)
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/aim/locore64.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/powerpc/aim/locore64.S b/sys/powerpc/aim/locore64.S
index 9a54b79..64e4e62 100644
--- a/sys/powerpc/aim/locore64.S
+++ b/sys/powerpc/aim/locore64.S
@@ -91,13 +91,13 @@ GLOBAL(esym)
GLOBAL(intrnames)
.space INTRCNT_COUNT * (MAXCOMLEN + 1) * 2
GLOBAL(sintrnames)
- .word INTRCNT_COUNT * (MAXCOMLEN + 1) * 2
+ .quad INTRCNT_COUNT * (MAXCOMLEN + 1) * 2
.align 4
GLOBAL(intrcnt)
.space INTRCNT_COUNT * 4 * 2
GLOBAL(sintrcnt)
- .word INTRCNT_COUNT * 4 * 2
+ .quad INTRCNT_COUNT * 4 * 2
.text
.globl btext
OpenPOWER on IntegriCloud