Deleted Added
full compact
kern_shutdown.c (103647) kern_shutdown.c (105531)
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 103647 2002-09-19 18:49:46Z jhb $
39 * $FreeBSD: head/sys/kern/kern_shutdown.c 105531 2002-10-20 17:03:15Z tmm $
40 */
41
42#include "opt_ddb.h"
43#include "opt_ddb_trace.h"
44#include "opt_ddb_unattended.h"
45#include "opt_hw_wdog.h"
46#include "opt_panic.h"
47#include "opt_show_busybufs.h"

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

567 return (0);
568 }
569 if (dumper.dumper != NULL)
570 return (EBUSY);
571 dumper = *di;
572 return (0);
573}
574
40 */
41
42#include "opt_ddb.h"
43#include "opt_ddb_trace.h"
44#include "opt_ddb_unattended.h"
45#include "opt_hw_wdog.h"
46#include "opt_panic.h"
47#include "opt_show_busybufs.h"

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

567 return (0);
568 }
569 if (dumper.dumper != NULL)
570 return (EBUSY);
571 dumper = *di;
572 return (0);
573}
574
575#if defined(__powerpc__) || defined(__sparc64__)
575#if defined(__powerpc__)
576void
577dumpsys(struct dumperinfo *di __unused)
578{
579
580 printf("Kernel dumps not implemented on this architecture\n");
581}
582#endif
576void
577dumpsys(struct dumperinfo *di __unused)
578{
579
580 printf("Kernel dumps not implemented on this architecture\n");
581}
582#endif