Add <sys/cpumask.h>.
authorzrj <rimvydas.jasinskas@gmail.com>
Mon, 11 Nov 2019 14:46:30 +0000 (16:46 +0200)
committerzrj <rimvydas.jasinskas@gmail.com>
Thu, 14 Nov 2019 13:59:02 +0000 (15:59 +0200)
commitda82a65a2885f0d063716beb9a62f7d2633a10c3
tree43bc532a55c09a0224de8654b4e2e28d8c880540
parent170f95576e25d0b323474e9e2ce3bc559963b028
Add <sys/cpumask.h>.

 Collect and gather all scatter cpumask bits to correct headers. This
 cleans up the namespace and simplifies platform handling in asm macros.
 The cpumask_t together with its macros is already non MI feature that is
 used in userland utilities, libraries, kernel scheduler and syscalls.
 It deserves sys/ header.  Adjust syscalls.master and rerun sysent.

 While there, fix an issue in ports that set POSIX env, but has
 implementation of setting thread names through pthread_set_name_np().
23 files changed:
include/pthread_np.h
lib/libthread_xu/thread/thr_private.h
sbin/usched/usched.c
sys/cpu/x86_64/include/cpumask.h
sys/cpu/x86_64/include/types.h
sys/kern/init_sysent.c
sys/kern/kern_usched.c
sys/kern/makesyscalls.sh
sys/kern/syscalls.master
sys/platform/pc64/apic/lapic.h
sys/platform/pc64/include/pmap.h
sys/platform/vkernel64/include/pmap.h
sys/platform/vkernel64/x86_64/mp.c
sys/sys/cpu_topology.h
sys/sys/cpumask.h [new file with mode: 0644]
sys/sys/lwp.h
sys/sys/proc.h
sys/sys/sched.h
sys/sys/sysproto.h
sys/sys/thread.h
sys/sys/thread2.h
sys/sys/usched.h
usr.sbin/powerd/powerd.c