svn commit: r184994 - head/sys/dev/hwpmc

Dag-Erling Smørgrav des at des.no
Fri Nov 21 01:01:42 PST 2008


Joseph Koshy <jkoshy at FreeBSD.org> writes:
> Modified: head/sys/dev/hwpmc/hwpmc_mod.c
> ==============================================================================
> --- head/sys/dev/hwpmc/hwpmc_mod.c	Sat Nov 15 11:07:54 2008	(r184993)
> +++ head/sys/dev/hwpmc/hwpmc_mod.c	Sat Nov 15 11:11:32 2008	(r184994)
> @@ -4656,6 +4656,9 @@ pmc_cleanup(void)
>  			if (md->pmd_pcpu_fini)
>  				md->pmd_pcpu_fini(cpu);
>  		}
> +
> +		pmc_md_finalize(md);
> +
>  		free(md, M_PMC);
>  		md = NULL;
>  		pmc_restore_cpu_binding(&pb);

This breaks the ia64, powerpc and sparc64 builds; pmc_md_finalize() is
only defined for i386 and amd64.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the svn-src-head mailing list