blob: 535e04466079857a09d3f9b0c6649f15f36301e6 [file] [log] [blame]
Eric W. Biederman5234f5e2005-06-25 14:58:02 -07001/*
2 * Architecture specific (x86_64) functions for kexec based crash dumps.
3 *
4 * Created by: Hariprasad Nellitheertha (hari@in.ibm.com)
5 *
6 * Copyright (C) IBM Corporation, 2004. All rights reserved.
7 *
8 */
9
10#include <linux/init.h>
11#include <linux/types.h>
12#include <linux/kernel.h>
13#include <linux/smp.h>
Eric W. Biederman5234f5e2005-06-25 14:58:02 -070014#include <linux/reboot.h>
15#include <linux/kexec.h>
16
17#include <asm/processor.h>
18#include <asm/hardirq.h>
19#include <asm/nmi.h>
20#include <asm/hw_irq.h>
21
Eric W. Biederman5234f5e2005-06-25 14:58:02 -070022note_buf_t crash_notes[NR_CPUS];
23
Alexander Nyberg6e274d12005-06-25 14:58:26 -070024void machine_crash_shutdown(struct pt_regs *regs)
Eric W. Biederman5234f5e2005-06-25 14:58:02 -070025{
26 /* This function is only called after the system
27 * has paniced or is otherwise in a critical state.
28 * The minimum amount of code to allow a kexec'd kernel
29 * to run successfully needs to happen here.
30 *
31 * In practice this means shooting down the other cpus in
32 * an SMP system.
33 */
34}