Re: svn commit: r313394 - head/sys/kern

2017-02-07 Thread Bruce Evans

On Tue, 7 Feb 2017, Emmanuel Vadot wrote:


Log:
 subr_sfbus.c need sys/proc.h for struct thread definition.
 This fixes kernel build for armv6.

 Discussed with: kib


sys/proc.h was accidentally (?) provided by gross namespace pollution
on some arches (perhaps on all the arches that use subr_sfbuf.c) in
.  This pollution is only supplied under INVARIANTS,
so it is not completely accidental.  However, at least on i386, sys/proc.h
and its nested pollution isn't even used for anything except to pollute.

 has lots of other undocumented pollution which is
actually partially used (mainly sys/pcpu.h and its pollution).

Bruce
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r313394 - head/sys/kern

2017-02-07 Thread Emmanuel Vadot
Author: manu
Date: Tue Feb  7 17:31:24 2017
New Revision: 313394
URL: https://svnweb.freebsd.org/changeset/base/313394

Log:
  subr_sfbus.c need sys/proc.h for struct thread definition.
  This fixes kernel build for armv6.
  
  Discussed with: kib

Modified:
  head/sys/kern/subr_sfbuf.c

Modified: head/sys/kern/subr_sfbuf.c
==
--- head/sys/kern/subr_sfbuf.c  Tue Feb  7 17:15:13 2017(r313393)
+++ head/sys/kern/subr_sfbuf.c  Tue Feb  7 17:31:24 2017(r313394)
@@ -33,6 +33,7 @@ __FBSDID("$FreeBSD$");
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"