cvs commit: src/sys/powerpc/include pcpu.h

Marcel Moolenaar marcel at FreeBSD.org
Thu Mar 6 16:59:39 UTC 2008


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


More information about the cvs-all mailing list