svn commit: r313394 - head/sys/kern
Bruce Evans
brde at optusnet.com.au
Wed Feb 8 01:31:57 UTC 2017
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
<machine/counter.h>. 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.
<machine/counter.h> has lots of other undocumented pollution which is
actually partially used (mainly sys/pcpu.h and its pollution).
Bruce
More information about the svn-src-all
mailing list