svn commit: r253749 - in head: lib/libc/powerpc/gen lib/libc/powerpc64/gen libexec/rtld-elf/powerpc libexec/rtld-elf/powerpc64 sbin/adjkerntz share/examples/perfmon tools/tools/vhba usr.bin/w

Andriy Gapon avg at FreeBSD.org
Sun Jul 28 18:35:46 UTC 2013


Author: avg
Date: Sun Jul 28 18:35:43 2013
New Revision: 253749
URL: http://svnweb.freebsd.org/changeset/base/253749

Log:
  remove needless inclusion of machine/cpu.h in userland
  
  MFC after:	21 days

Modified:
  head/lib/libc/powerpc/gen/syncicache.c
  head/lib/libc/powerpc64/gen/syncicache.c
  head/libexec/rtld-elf/powerpc/reloc.c
  head/libexec/rtld-elf/powerpc64/reloc.c
  head/sbin/adjkerntz/adjkerntz.c
  head/share/examples/perfmon/perfmon.c
  head/tools/tools/vhba/vhba.h
  head/usr.bin/w/w.c

Modified: head/lib/libc/powerpc/gen/syncicache.c
==============================================================================
--- head/lib/libc/powerpc/gen/syncicache.c	Sun Jul 28 18:32:27 2013	(r253748)
+++ head/lib/libc/powerpc/gen/syncicache.c	Sun Jul 28 18:35:43 2013	(r253749)
@@ -44,7 +44,6 @@ static const char rcsid[] =
 #endif
 #include <sys/sysctl.h>
 
-#include <machine/cpu.h>
 #include <machine/md_var.h>
 
 #ifdef _STANDALONE

Modified: head/lib/libc/powerpc64/gen/syncicache.c
==============================================================================
--- head/lib/libc/powerpc64/gen/syncicache.c	Sun Jul 28 18:32:27 2013	(r253748)
+++ head/lib/libc/powerpc64/gen/syncicache.c	Sun Jul 28 18:35:43 2013	(r253749)
@@ -44,7 +44,6 @@ static const char rcsid[] =
 #endif
 #include <sys/sysctl.h>
 
-#include <machine/cpu.h>
 #include <machine/md_var.h>
 
 #ifdef _STANDALONE

Modified: head/libexec/rtld-elf/powerpc/reloc.c
==============================================================================
--- head/libexec/rtld-elf/powerpc/reloc.c	Sun Jul 28 18:32:27 2013	(r253748)
+++ head/libexec/rtld-elf/powerpc/reloc.c	Sun Jul 28 18:35:43 2013	(r253749)
@@ -37,7 +37,6 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
-#include <machine/cpu.h>
 #include <machine/atomic.h>
 #include <machine/md_var.h>
 

Modified: head/libexec/rtld-elf/powerpc64/reloc.c
==============================================================================
--- head/libexec/rtld-elf/powerpc64/reloc.c	Sun Jul 28 18:32:27 2013	(r253748)
+++ head/libexec/rtld-elf/powerpc64/reloc.c	Sun Jul 28 18:35:43 2013	(r253749)
@@ -37,7 +37,6 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
-#include <machine/cpu.h>
 #include <machine/md_var.h>
 
 #include "debug.h"

Modified: head/sbin/adjkerntz/adjkerntz.c
==============================================================================
--- head/sbin/adjkerntz/adjkerntz.c	Sun Jul 28 18:32:27 2013	(r253748)
+++ head/sbin/adjkerntz/adjkerntz.c	Sun Jul 28 18:35:43 2013	(r253749)
@@ -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"

Modified: head/share/examples/perfmon/perfmon.c
==============================================================================
--- head/share/examples/perfmon/perfmon.c	Sun Jul 28 18:32:27 2013	(r253748)
+++ head/share/examples/perfmon/perfmon.c	Sun Jul 28 18:35:43 2013	(r253749)
@@ -32,7 +32,6 @@
 #include <sys/types.h>
 #include <sys/ioctl.h>
 
-#include <machine/cpu.h>
 #include <machine/perfmon.h>
 
 #include <stdio.h>

Modified: head/tools/tools/vhba/vhba.h
==============================================================================
--- head/tools/tools/vhba/vhba.h	Sun Jul 28 18:32:27 2013	(r253748)
+++ head/tools/tools/vhba/vhba.h	Sun Jul 28 18:35:43 2013	(r253749)
@@ -43,7 +43,6 @@
 #include <sys/proc.h>
 
 #include <machine/bus.h>
-#include <machine/cpu.h>
 #include <machine/stdarg.h>
 
 #include <cam/cam.h>

Modified: head/usr.bin/w/w.c
==============================================================================
--- head/usr.bin/w/w.c	Sun Jul 28 18:32:27 2013	(r253748)
+++ head/usr.bin/w/w.c	Sun Jul 28 18:35:43 2013	(r253749)
@@ -57,7 +57,6 @@ static const char sccsid[] = "@(#)w.c	8.
 #include <sys/socket.h>
 #include <sys/tty.h>
 
-#include <machine/cpu.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <arpa/nameser.h>


More information about the svn-src-all mailing list