Date: Fri, 9 Mar 2007 11:56:00 GMT From: Paolo Pisati <piso@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 115593 for review Message-ID: <200703091156.l29Bu03V019593@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=115593 Change 115593 by piso@piso_newluxor on 2007/03/09 11:55:59 Remove inclusion of sys/limits.h and expand IA64_NUMI as we don't need it in more than one place. Affected files ... .. //depot/projects/soc2006/intr_filter/ia64/ia64/interrupt.c#25 edit Differences ... ==== //depot/projects/soc2006/intr_filter/ia64/ia64/interrupt.c#25 (text+ko) ==== @@ -43,7 +43,6 @@ #include <sys/proc.h> #include <sys/vmmeter.h> #include <sys/bus.h> -#include <sys/limits.h> #include <sys/malloc.h> #include <sys/ktr.h> #include <sys/lock.h> @@ -257,9 +256,8 @@ volatile long *cntp; /* interrupt counter */ }; -#define IA64_NUMI 256 static struct mtx ia64_intrs_lock; -static struct ia64_intr *ia64_intrs[IA64_NUMI]; +static struct ia64_intr *ia64_intrs[256]; extern struct sapic *ia64_sapics[]; extern int ia64_sapic_count;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703091156.l29Bu03V019593>