cvs commit: src/sys/alpha/include pmc_mdep.h src/sys/arm/include pmc_mdep.h src/sys/ia64/include pmc_mdep.h src/sys/powerpc/include pmc_mdep.h src/sys/sparc64/include pmc_mdep.h

Warner Losh imp at bsdimp.com
Wed Apr 20 12:51:38 PDT 2005


From: Marcel Moolenaar <marcel at xcllnt.net>
Subject: Re: cvs commit: src/sys/alpha/include pmc_mdep.h src/sys/arm/include pmc_mdep.h src/sys/ia64/include pmc_mdep.h src/sys/powerpc/include pmc_mdep.h src/sys/sparc64/include pmc_mdep.h
Date: Wed, 20 Apr 2005 12:47:31 -0700

> 
> On Apr 20, 2005, at 12:17 PM, Warner Losh wrote:
> 
> > From: Marcel Moolenaar <marcel at FreeBSD.org>
> > Subject: cvs commit: src/sys/alpha/include pmc_mdep.h 
> > src/sys/arm/include pmc_mdep.h src/sys/ia64/include pmc_mdep.h 
> > src/sys/powerpc/include pmc_mdep.h src/sys/sparc64/include pmc_mdep.h
> > Date: Wed, 20 Apr 2005 18:44:53 +0000 (UTC)
> >
> >> marcel      2005-04-20 18:44:53 UTC
> >>
> >>   FreeBSD src repository
> >>
> >>   Added files:
> >>     sys/alpha/include    pmc_mdep.h
> >>     sys/arm/include      pmc_mdep.h
> >>     sys/ia64/include     pmc_mdep.h
> >>     sys/powerpc/include  pmc_mdep.h
> >>     sys/sparc64/include  pmc_mdep.h
> >>   Log:
> >>   Add empty header (except of the multiple-inclusion protection) to
> >>   get hwpmc(4) to compile on this platform.
> >
> > How do you get around the #error in sys/pcm.h?
> 
> Remove it. The lack of union pm_md is not in the way of making it
> compile on other platforms.

Yes.  The union should be defined in the pmc_mdep.h files...

Warner


More information about the cvs-src mailing list