kernel: Don't include <sys/user.h> in kernel code.
authorSascha Wildner <saw@online.de>
Sat, 18 May 2019 15:11:58 +0000 (17:11 +0200)
committerSascha Wildner <saw@online.de>
Sat, 18 May 2019 15:11:58 +0000 (17:11 +0200)
commit2a7bd4d84ab6a1cff364e4331211d1184dafa0cf
treef14dd2c306cfbce6ee7a357f3391b0e28a68ccf1
parent8bfc56a199a378bfb686ee0ebf6738eb9199ec41
kernel: Don't include <sys/user.h> in kernel code.

There is really no point in doing that because its main purpose is to
expose kernel structures to userland. The majority of cases wasn't
needed at all and the rest required only a couple of other includes.
20 files changed:
sys/dev/disk/iscsi/initiator/isc_soc.c
sys/kern/imgact_aout.c
sys/kern/init_main.c
sys/kern/kern_exec.c
sys/kern/kern_exit.c
sys/kern/kern_proc.c
sys/kern/sys_process.c
sys/kern/sys_vmm.c
sys/platform/pc64/x86_64/db_trace.c
sys/platform/pc64/x86_64/machdep.c
sys/platform/pc64/x86_64/mp_machdep.c
sys/platform/pc64/x86_64/mptable.c
sys/platform/pc64/x86_64/pmap.c
sys/platform/pc64/x86_64/tls.c
sys/platform/vkernel64/platform/pmap.c
sys/platform/vkernel64/x86_64/cpu_regs.c
sys/platform/vkernel64/x86_64/db_trace.c
sys/platform/vkernel64/x86_64/tls.c
sys/vfs/procfs/procfs_mem.c
sys/vm/vm_glue.c