git: kernel: Remove numerous #include <sys/thread2.h>.
Sascha Wildner
swildner at crater.dragonflybsd.org
Sat Mar 2 12:42:14 PST 2019
commit fcf6efefc03a35111797b109fa4994034ebe39ba
Author: Sascha Wildner <saw at online.de>
Date: Sat Mar 2 21:34:21 2019 +0100
kernel: Remove numerous #include <sys/thread2.h>.
Most of them were added when we converted spl*() calls to
crit_enter()/crit_exit(), almost 14 years ago. We can now
remove a good chunk of them again for where crit_*() are
no longer used.
I had to adjust some files that were relying on thread2.h
or headers that it includes coming in via other headers
that it was removed from.
Summary of changes:
sys/bus/cam/cam_periph.c | 2 --
sys/bus/cam/cam_sim.c | 1 -
sys/bus/cam/cam_xpt.c | 1 -
sys/bus/cam/scsi/scsi_cd.c | 1 -
sys/bus/cam/scsi/scsi_ch.c | 1 -
sys/bus/cam/scsi/scsi_da.c | 1 -
sys/bus/cam/scsi/scsi_pass.c | 1 -
sys/bus/cam/scsi/scsi_pt.c | 1 -
sys/bus/cam/scsi/scsi_sa.c | 1 -
sys/bus/cam/scsi/scsi_ses.c | 1 -
sys/bus/cam/scsi/scsi_targ_bh.c | 2 --
sys/bus/pci/x86_64/pci_cfgreg.c | 1 -
sys/bus/u4b/quirk/usb_quirk.c | 1 -
sys/bus/u4b/usb_dev.c | 1 -
sys/dev/acpica/Osd/OsdInterrupt.c | 1 -
sys/dev/acpica/Osd/OsdSchedule.c | 1 -
sys/dev/acpica/acpi_cpu_cstate.c | 1 -
sys/dev/acpica/acpi_thinkpad/acpi_thinkpad.c | 1 -
sys/dev/crypto/hifn/hifn7751.c | 1 -
sys/dev/disk/buslogic/bt_pci.c | 1 -
sys/dev/disk/ccd/ccd.c | 1 -
sys/dev/disk/dm/dm_dev.c | 1 -
sys/dev/disk/iscsi/initiator/isc_sm.c | 1 -
sys/dev/disk/iscsi/initiator/isc_soc.c | 1 -
sys/dev/disk/nvme/nvme_dragonfly.h | 1 -
sys/dev/disk/xdisk/xdisk.c | 1 -
sys/dev/misc/cmx/cmx.c | 1 -
sys/dev/misc/dcons/dcons_os.c | 1 -
sys/dev/misc/gpio/gpio.c | 1 -
sys/dev/misc/kbd/kbd.c | 1 -
sys/dev/misc/kbd/kbdsw.c | 1 -
sys/dev/misc/nmdm/nmdm.c | 1 -
sys/dev/misc/syscons/sckmsrndr.c | 1 -
sys/dev/misc/syscons/scvgarndr.c | 1 -
sys/dev/misc/syscons/sysmouse.c | 1 -
sys/dev/netif/bfe/if_bfe.c | 1 -
sys/dev/netif/dc/if_dc.c | 1 -
sys/dev/netif/de/if_de.c | 1 -
sys/dev/netif/fwe/if_fwe.c | 1 -
sys/dev/netif/fxp/if_fxp.c | 1 -
sys/dev/netif/lge/if_lge.c | 1 -
sys/dev/netif/nge/if_nge.c | 1 -
sys/dev/netif/pcn/if_pcn.c | 1 -
sys/dev/netif/rl/if_rl.c | 1 -
sys/dev/netif/sbsh/if_sbsh.c | 1 -
sys/dev/netif/sf/if_sf.c | 1 -
sys/dev/netif/sis/if_sis.c | 1 -
sys/dev/netif/sn/if_sn.c | 1 -
sys/dev/netif/ste/if_ste.c | 1 -
sys/dev/netif/ti/if_ti.c | 1 -
sys/dev/netif/tl/if_tl.c | 1 -
sys/dev/netif/tx/if_tx.c | 1 -
sys/dev/netif/txp/if_txp.c | 1 -
sys/dev/netif/vr/if_vr.c | 1 -
sys/dev/netif/xl/if_xl.c | 1 -
sys/dev/raid/ips/ips_ioctl.c | 2 --
sys/dev/raid/twe/twe_freebsd.c | 1 +
sys/emulation/ndis/subr_hal.c | 1 -
sys/emulation/ndis/subr_ntoskrnl.c | 1 -
sys/gnu/vfs/ext2fs/ext2_vnops.c | 1 -
sys/kern/kern_cputimer.c | 1 -
sys/kern/kern_descrip.c | 1 -
sys/kern/kern_device.c | 1 -
sys/kern/kern_exit.c | 1 -
sys/kern/kern_iosched.c | 3 ---
sys/kern/kern_lock.c | 1 -
sys/kern/kern_mpipe.c | 2 --
sys/kern/kern_nrandom.c | 1 -
sys/kern/kern_physio.c | 1 -
sys/kern/kern_prot.c | 1 -
sys/kern/kern_refcount.c | 2 --
sys/kern/kern_udev.c | 2 --
sys/kern/lwkt_serialize.c | 1 -
sys/kern/subr_autoconf.c | 1 -
sys/kern/subr_bus.c | 2 --
sys/kern/subr_disk.c | 1 -
sys/kern/subr_diskiocom.c | 1 -
sys/kern/subr_diskslice.c | 1 -
sys/kern/subr_taskqueue.c | 1 -
sys/kern/sysv_sem.c | 2 --
sys/kern/tty_pty.c | 1 -
sys/kern/tty_subr.c | 1 -
sys/kern/uipc_mbuf.c | 1 -
sys/kern/uipc_msg.c | 1 -
sys/kern/uipc_socket.c | 1 -
sys/kern/uipc_socket2.c | 1 -
sys/kern/vfs_aio.c | 1 -
sys/kern/vfs_bio.c | 1 -
sys/kern/vfs_jops.c | 3 ---
sys/kern/vfs_journal.c | 3 ---
sys/kern/vfs_lock.c | 1 -
sys/kern/vfs_mount.c | 1 -
sys/kern/vfs_subr.c | 1 -
sys/kern/vfs_sync.c | 1 -
sys/kern/vfs_synth.c | 1 -
sys/kern/vfs_vfsops.c | 1 -
sys/kern/vfs_vm.c | 1 -
sys/kern/vfs_vnops.c | 1 -
sys/kern/vfs_vopops.c | 1 -
sys/net/bpf.c | 2 --
sys/net/ifq_var.h | 3 ---
sys/net/ip_mroute/ip_mroute.c | 1 -
sys/net/ipfw3/ip_fw3.c | 1 -
sys/net/ipfw3/ip_fw3_set.c | 1 -
sys/net/ipfw3_basic/ip_fw3_basic.c | 1 -
sys/net/ipfw3_basic/ip_fw3_state.c | 1 -
sys/net/ipfw3_basic/ip_fw3_sync.c | 1 -
sys/net/ipfw3_basic/ip_fw3_table.c | 1 -
sys/net/ipfw3_layer2/ip_fw3_layer2.c | 1 -
sys/net/ipfw3_nat/ip_fw3_nat.c | 1 -
sys/net/sl/if_sl.c | 1 -
sys/net/tun/if_tun.c | 1 -
sys/netbt/hci_ioctl.c | 2 --
sys/netgraph/tty/ng_tty.c | 1 -
sys/netgraph7/socket/ng_socket.c | 1 -
sys/netinet/in_gif.c | 2 --
sys/netinet/in_pcb.c | 1 -
sys/netinet/ip_divert.c | 1 -
sys/netinet/raw_ip.c | 1 -
sys/netinet/tcp_usrreq.c | 1 -
sys/netinet/udp_usrreq.c | 1 -
sys/netinet6/in6_pcb.c | 1 -
sys/netinet6/ip6_input.c | 1 -
sys/netinet6/ip6_output.c | 1 -
sys/netinet6/mld6.c | 1 -
sys/netinet6/nd6_rtr.c | 1 -
sys/netproto/mpls/mpls_input.c | 1 -
sys/opencrypto/cryptodev.c | 1 -
sys/platform/pc64/acpica/acpi_fadt.c | 1 -
sys/platform/pc64/apic/ioapic_abi.c | 1 -
sys/platform/pc64/apic/lapic.c | 1 -
sys/platform/pc64/icu/icu_abi.c | 2 --
sys/platform/pc64/x86_64/busdma_machdep.c | 1 -
sys/platform/pc64/x86_64/dump_machdep.c | 1 -
sys/platform/pc64/x86_64/efirt.c | 1 -
sys/platform/vkernel64/platform/cothread.c | 3 +--
sys/platform/vkernel64/platform/kqueue.c | 2 --
sys/platform/vkernel64/platform/shutdown.c | 2 --
sys/platform/vkernel64/x86_64/mp.c | 2 ++
sys/platform/vkernel64/x86_64/tls.c | 2 --
sys/sys/msgport2.h | 6 +-----
sys/vfs/fifofs/fifo_vnops.c | 1 -
sys/vfs/hammer2/hammer2.h | 1 -
sys/vfs/nfs/nfs_iod.c | 1 -
sys/vfs/nfs/nfs_kerb.c | 3 ---
sys/vfs/nfs/nfs_vnops.c | 2 --
sys/vfs/ntfs/ntfs.h | 1 -
sys/vfs/procfs/procfs_ctl.c | 2 --
sys/vfs/procfs/procfs_mem.c | 2 --
sys/vfs/procfs/procfs_subr.c | 1 -
sys/vfs/ufs/ffs_softdep.c | 1 -
sys/vm/device_pager.c | 1 -
sys/vm/phys_pager.c | 1 -
sys/vm/swap_pager.c | 1 -
sys/vm/vm_contig.c | 2 --
sys/vm/vm_fault.c | 1 -
sys/vm/vm_glue.c | 1 -
sys/vm/vm_mmap.c | 1 -
sys/vm/vm_object.h | 4 ----
sys/vm/vm_page.h | 3 ---
sys/vm/vm_pageout.c | 1 -
sys/vm/vm_pager.c | 1 -
sys/vm/vm_swap.c | 1 -
sys/vm/vm_swapcache.c | 1 -
sys/vm/vnode_pager.c | 1 -
165 files changed, 5 insertions(+), 202 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fcf6efefc03a35111797b109fa4994034ebe39ba
--
DragonFly BSD source repository
More information about the Commits
mailing list