freebsd-dev/sys/dev/syscons
Warner Losh e7932420b0 Revert r331298
Normally, shutdown_nice() just signals init. However, sometimes it
calls kern_reboot directly. For that case, r331298 dropped the Giant
lock before calling it. This turns out to be incorrect for the more
common case where init exists and we just signal it. Restore the old
behavior. The direct call to kern_reboot() doesn't sync buffers to the
disk, so should work with Giant held, so we don't need to drop locks
here for that.

Noticed by: bde@
Sponsored by: Netflix
2018-03-22 15:11:53 +00:00
..
apm sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
blank sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
daemon sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
dragon sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
fade sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
fire Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
fonts Add files to help manage the (vga) syscons mouse cursor. 2017-07-08 15:01:55 +00:00
green sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
logo sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
plasma Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
rain sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
snake sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
star sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
warp sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
scgfbrndr.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
schistory.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
scmouse.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
scterm-teken.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
scterm.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
scvesactl.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
scvgarndr.c kernel: Fix several typos and minor errors 2017-12-27 03:23:21 +00:00
scvidctl.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
scvtb.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
syscons.c Revert r331298 2018-03-22 15:11:53 +00:00
syscons.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
sysmouse.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00