This commit was generated by cvs2svn to compensate for changes in r925,
[linux-2.6.git] / include / asm-generic / crashdump.h
1 #ifndef _ASM_GENERIC_CRASHDUMP_H_
2 #define _ASM_GENERIC_CRASHDUMP_H_
3
4 /*
5  * linux/include/asm-generic/crashdump.h
6  *
7  * Copyright (c) 2003, 2004 Red Hat, Inc. All rights reserved.
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2, or (at your option)
12  * any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22  */
23
24 #ifdef __KERNEL__
25
26 #define platform_timestamp(x) do { (x) = 0; } while (0)  
27
28 #define platform_fix_regs() do { } while (0)
29 #define platform_init_stack(stackptr) do { } while (0)
30 #define platform_cleanup_stack(stackptr) do { } while (0)
31 #define platform_start_crashdump(stackptr,dumpfunc,regs) (0)
32
33 #undef ELF_CORE_COPY_REGS
34 #define ELF_CORE_COPY_REGS(x, y) do { struct pt_regs *z; z = (y); } while (0)
35
36 #define show_mem() do {} while (0)
37
38 #define show_state() do {} while (0)
39
40 #define show_regs(x) do { struct pt_regs *z; z = (x); } while (0)
41
42 #undef KM_CRASHDUMP
43 #define KM_CRASHDUMP 0
44
45 #endif /* __KERNEL__ */
46
47 #endif /* _ASM_GENERIC_CRASHDUMP_H */