summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_clock.c
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/kern/kern_clock.c
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/kern/kern_clock.c')
-rw-r--r--sys/kern/kern_clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c
index f3f49ca..681b645 100644
--- a/sys/kern/kern_clock.c
+++ b/sys/kern/kern_clock.c
@@ -842,7 +842,7 @@ watchdog_fire(void)
curintr = intrcnt;
curname = intrnames;
inttotal = 0;
- nintr = eintrcnt - intrcnt;
+ nintr = sintrcnt;
printf("interrupt total\n");
while (--nintr >= 0) {
OpenPOWER on IntegriCloud