Driver core: fix error by cleanup up symlinks properly
[linux-2.6] / include / asm-arm26 / mach-types.h
1 /*
2  * Unlike ARM32 this is NOT automatically generated. DONT delete it
3  * Instead, consider FIXME-ing it so its auto-detected.
4  */
5
6 #ifndef __ASM_ARM_MACH_TYPE_H
7 #define __ASM_ARM_MACH_TYPE_H
8
9
10 #ifndef __ASSEMBLY__
11 extern unsigned int __machine_arch_type;
12 #endif
13
14 #define MACH_TYPE_ARCHIMEDES           10
15 #define MACH_TYPE_A5K                  11
16
17 #ifdef CONFIG_ARCH_ARC
18 # define machine_arch_type              MACH_TYPE_ARCHIMEDES
19 # define machine_is_archimedes()        (machine_arch_type == MACH_TYPE_ARCHIMEDES)
20 #else
21 # define machine_is_archimedes()        (0)
22 #endif
23
24 #ifdef CONFIG_ARCH_A5K
25 # define machine_arch_type              MACH_TYPE_A5K
26 # define machine_is_a5k()               (machine_arch_type == MACH_TYPE_A5K)
27 #else
28 # define machine_is_a5k()       (0)
29 #endif
30
31 #ifndef machine_arch_type
32 #error Unknown machine type
33 #define machine_arch_type       __machine_arch_type
34 #endif
35
36 #endif