Date: Thu, 6 Mar 2008 16:59:37 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/powerpc/include pcpu.h Message-ID: <200803061659.m26Gxcgj024332@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2008-03-06 16:59:37 UTC
FreeBSD src repository
Modified files:
sys/powerpc/include pcpu.h
Log:
Add a catch-all for PCPU_MD_FIELDS. While we expect this to be
used in the kernel only (by virtue of checking for _KERNEL),
ports like lsof (part of gtop) cheat. It sets _KERNEL, but does
not set either AIM or E500. As such, PCPU_MD_FIELDS didn't get
defined and the build broke.
The catch-all is to define PCPU_MD_FIELDS with a dummy integer
when at the end of line we ended up without a definition for it.
Revision Changes Path
1.26 +7 -0 src/sys/powerpc/include/pcpu.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803061659.m26Gxcgj024332>
