cvs commit: src/sys/i386/include param.h src/sys/amd64/include param.h

Jeremy C. Reed reed at crater.dragonflybsd.org
Tue Mar 7 20:57:34 PST 2006


reed        2006/03/07 20:54:05 PST

DragonFly src repository

  Modified files:
    sys/i386/include     param.h 
    sys/amd64/include    param.h 
  Log:
  Only define atop for _KERNEL or _KERNEL_STRUCTURES.
  
  Noticed because third-party userland code (csup) also tried to use
  its own atop.
  
  I tested with a buildworld and buildkernel on i386.
  
  Okayed by M. Dillon via kernel mailing list.
  
  (I didn't put this condition around ptoa because it is used in
  usr.bin/gcore/gcore.c.)
  
  Revision  Changes    Path
  1.8       +2 -0      src/sys/i386/include/param.h
  1.2       +2 -0      src/sys/amd64/include/param.h


http://www.dragonflybsd.org/cvsweb/src/sys/i386/include/param.h.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/amd64/include/param.h.diff?r1=1.1&r2=1.2&f=u





More information about the Commits mailing list