Deleted Added
full compact
kern_shutdown.c (75858) kern_shutdown.c (76078)
1/*-
2 * Copyright (c) 1986, 1988, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

--- 22 unchanged lines hidden (view full) ---

31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)kern_shutdown.c 8.3 (Berkeley) 1/21/94
1/*-
2 * Copyright (c) 1986, 1988, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

--- 22 unchanged lines hidden (view full) ---

31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)kern_shutdown.c 8.3 (Berkeley) 1/21/94
39 * $FreeBSD: head/sys/kern/kern_shutdown.c 75858 2001-04-23 09:05:15Z grog $
39 * $FreeBSD: head/sys/kern/kern_shutdown.c 76078 2001-04-27 19:28:25Z jhb $
40 */
41
42#include "opt_ddb.h"
43#include "opt_hw_wdog.h"
44#include "opt_panic.h"
45#include "opt_show_busybufs.h"
46
47#include <sys/param.h>

--- 6 unchanged lines hidden (view full) ---

54#include <sys/vnode.h>
55#include <sys/kernel.h>
56#include <sys/kthread.h>
57#include <net/radix.h>
58#include <sys/socket.h>
59#include <sys/mount.h>
60#include <sys/mutex.h>
61#include <sys/queue.h>
40 */
41
42#include "opt_ddb.h"
43#include "opt_hw_wdog.h"
44#include "opt_panic.h"
45#include "opt_show_busybufs.h"
46
47#include <sys/param.h>

--- 6 unchanged lines hidden (view full) ---

54#include <sys/vnode.h>
55#include <sys/kernel.h>
56#include <sys/kthread.h>
57#include <net/radix.h>
58#include <sys/socket.h>
59#include <sys/mount.h>
60#include <sys/mutex.h>
61#include <sys/queue.h>
62#include <sys/smp.h> /* smp_active, cpuid */
62#include <sys/sysctl.h>
63#include <sys/conf.h>
64#include <sys/sysproto.h>
65#include <sys/cons.h>
66
67#include <machine/pcb.h>
68#include <machine/md_var.h>
63#include <sys/sysctl.h>
64#include <sys/conf.h>
65#include <sys/sysproto.h>
66#include <sys/cons.h>
67
68#include <machine/pcb.h>
69#include <machine/md_var.h>
69#include <machine/smp.h> /* smp_active, cpuid */
70
71#include <sys/signalvar.h>
72
73#ifndef PANIC_REBOOT_WAIT_TIME
74#define PANIC_REBOOT_WAIT_TIME 15 /* default to 15 seconds */
75#endif
76
77/*

--- 576 unchanged lines hidden ---
70
71#include <sys/signalvar.h>
72
73#ifndef PANIC_REBOOT_WAIT_TIME
74#define PANIC_REBOOT_WAIT_TIME 15 /* default to 15 seconds */
75#endif
76
77/*

--- 576 unchanged lines hidden ---