Date: Fri, 1 Feb 2008 19:38:37 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 134597 for review Message-ID: <200802011938.m11JcbiW085011@repoman.freebsd.org>
index | next in thread | raw e-mail
http://perforce.freebsd.org/chv.cgi?CH=134597 Change 134597 by jb@jb_freebsd1 on 2008/02/01 19:38:22 A few SMP_MAXCPU -> MAXCPU changes I missed. Affected files ... .. //depot/projects/dtrace/src/sys/cddl/cyclic/i386/cyclic_machdep.c#3 edit .. //depot/projects/dtrace/src/sys/cddl/dev/fasttrap/fasttrap.c#6 edit .. //depot/projects/dtrace7/src/sys/cddl/cyclic/i386/cyclic_machdep.c#2 edit .. //depot/projects/dtrace7/src/sys/cddl/dev/fasttrap/fasttrap.c#2 edit Differences ... ==== //depot/projects/dtrace/src/sys/cddl/cyclic/i386/cyclic_machdep.c#3 (text+ko) ==== @@ -73,7 +73,7 @@ cyclic_uninit(); } -static hrtime_t exp_due[SMP_MAXCPU]; +static hrtime_t exp_due[MAXCPU]; /* * This function is the one registered by the machine dependent ==== //depot/projects/dtrace/src/sys/cddl/dev/fasttrap/fasttrap.c#6 (text+ko) ==== @@ -279,7 +279,7 @@ fasttrap_mod_gen++; - for (i = 0; i < SMP_MAXCPU; i++) { + for (i = 0; i < MAXCPU; i++) { mtx_lock(&cpu_core[i].cpuc_pid_lock); mtx_unlock(&cpu_core[i].cpuc_pid_lock); } ==== //depot/projects/dtrace7/src/sys/cddl/cyclic/i386/cyclic_machdep.c#2 (text+ko) ==== @@ -73,7 +73,7 @@ cyclic_uninit(); } -static hrtime_t exp_due[SMP_MAXCPU]; +static hrtime_t exp_due[MAXCPU]; /* * This function is the one registered by the machine dependent ==== //depot/projects/dtrace7/src/sys/cddl/dev/fasttrap/fasttrap.c#2 (text+ko) ==== @@ -279,7 +279,7 @@ fasttrap_mod_gen++; - for (i = 0; i < SMP_MAXCPU; i++) { + for (i = 0; i < MAXCPU; i++) { mtx_lock(&cpu_core[i].cpuc_pid_lock); mtx_unlock(&cpu_core[i].cpuc_pid_lock); }home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802011938.m11JcbiW085011>
