fedora core 2.6.10-1.12-FC2
[linux-2.6.git] / include / asm-generic / netdump.h
1 #ifndef _ASM_GENERIC_NETDUMP_H_
2 #define _ASM_GENERIC_NETDUMP_H_
3
4 /*
5  * linux/include/asm-generic/netdump.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 #include <asm-generic/crashdump.h>
25
26 #ifdef __KERNEL__
27
28 #warning netdump is not supported on this platform
29 const static int platform_supports_netdump = 0;
30
31 static inline int page_is_ram(unsigned long x) { return 0; }
32
33 #define platform_machine_type() (EM_NONE)
34 #define platform_effective_version(x) (0)
35 #define platform_next_available(x) ((u32)0)
36 #define platform_freeze_cpu()  do { } while (0)
37 #define platform_jiffy_cycles(x)  do { } while (0)
38 #define platform_max_pfn() (0)
39 #define platform_get_regs(x,y) (0)
40
41 #undef kmap_atomic
42 #undef kunmap_atomic
43 static inline char *kmap_atomic(void *page, int idx)  { return NULL; }
44 #define kunmap_atomic(addr, idx)  do { } while (0)
45
46 #endif /* __KERNEL__ */
47
48 #endif /* _ASM_GENERIC_NETDUMP_H */