I noticed that couple of our userland file include machine/cpu.h for no apparent good reason. It looks like at least amd64 cpu.h has no userland serviceable parts inside. Maybe its content should be put under _KERNEL ?
Also: --- a/sbin/adjkerntz/adjkerntz.c +++ b/sbin/adjkerntz/adjkerntz.c @@ -51,7 +51,6 @@ __FBSDID("$FreeBSD$"); #include <syslog.h> #include <sys/time.h> #include <sys/param.h> -#include <machine/cpu.h> #include <sys/sysctl.h> #include "pathnames.h" diff --git a/usr.bin/w/w.c b/usr.bin/w/w.c index 8441ce5..9674fc2 100644 --- a/usr.bin/w/w.c +++ b/usr.bin/w/w.c @@ -57,7 +57,6 @@ static const char sccsid[] = "@(#)w.c 8.4 (Berkeley) 4/16/94"; #include <sys/socket.h> #include <sys/tty.h> -#include <machine/cpu.h> #include <netinet/in.h> #include <arpa/inet.h> #include <arpa/nameser.h> -- Andriy Gapon _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"