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

2007-02-06 Thread Bruce Evans
bde 2007-02-06 18:04:02 UTC FreeBSD src repository Modified files: sys/amd64/includepcpu.h sys/i386/include pcpu.h Log: Fixed some style bugs. Routine except: - don't use __GNUCLIKE___OFFSETOF, since __offsetof() is a standard FreeBSD implementaion detail

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

2007-02-06 Thread Bruce Evans
bde 2007-02-06 16:21:09 UTC FreeBSD src repository Modified files: sys/amd64/includepcpu.h sys/i386/include pcpu.h Log: Simplified PCPU_GET() and PCPU_SET(). We must copy through a temporary variable to avoid invalid constraints in dead code. Use an array of