cvs commit: src/sys/sys ktr.h

Marius Strobl marius at
Tue Dec 6 08:37:02 PST 2005

marius      2005-12-06 16:37:01 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              ktr.h 
  Extend the scope of #ifndef LOCORE to also cover the prototype of
  ktr_tracepoint() and the macros using it. This allows this header
  to be included in .S files for obtaining the KTR_* class macros
  directly and providing a default value for KTR_COMPILE in case it's
  not specified in the kernel config file including defining it to 0
  when not using 'options KTR' at all.
  Requested by:   ru
  Reviewed by:    ru
  Revision  Changes    Path
  1.34      +7 -3      src/sys/sys/ktr.h

More information about the cvs-src mailing list