summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2011-10-01 13:11:29 +0000
committermarius <marius@FreeBSD.org>2011-10-01 13:11:29 +0000
commit4ec9e241d82a173f6543fe79c35eaecedee700bf (patch)
tree2b2a8971e2123dfa2b8bfb8851ebfb70d63a3dd1 /sys/sparc64
parentf735840b56c7aedac86f9e8be7d1f9cb33ad623e (diff)
downloadFreeBSD-src-4ec9e241d82a173f6543fe79c35eaecedee700bf.zip
FreeBSD-src-4ec9e241d82a173f6543fe79c35eaecedee700bf.tar.gz
Also allocate space for the PIL counters. Given that no machine actually
uses IV_MAX interrupt vectors this wasn't a problem in practice though.
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/sparc64/exception.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/sparc64/sparc64/exception.S b/sys/sparc64/sparc64/exception.S
index 222ddea..09db4e0 100644
--- a/sys/sparc64/sparc64/exception.S
+++ b/sys/sparc64/sparc64/exception.S
@@ -373,15 +373,15 @@ END(rsf_fatal)
_ALIGN_DATA
.globl intrnames, sintrnames
intrnames:
- .space IV_MAX * (MAXCOMLEN + 1)
+ .space (IV_MAX + PIL_MAX) * (MAXCOMLEN + 1)
sintrnames:
- .quad IV_MAX * (MAXCOMLEN + 1)
+ .quad (IV_MAX + PIL_MAX) * (MAXCOMLEN + 1)
.globl intrcnt, sintrcnt
intrcnt:
- .space IV_MAX * 8
+ .space (IV_MAX + PIL_MAX) * 8
sintrcnt:
- .quad IV_MAX * 8
+ .quad (IV_MAX + PIL_MAX) * 8
.text
OpenPOWER on IntegriCloud