Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-arm26 / mach-types.h
blob0aeaedcbac96622531b904a941f2780f75e794e0
1 /*
2 * Unlike ARM32 this is NOT automatically generated. DONT delete it
3 * Instead, consider FIXME-ing it so its auto-detected.
4 */
6 #ifndef __ASM_ARM_MACH_TYPE_H
7 #define __ASM_ARM_MACH_TYPE_H
10 #ifndef __ASSEMBLY__
11 extern unsigned int __machine_arch_type;
12 #endif
14 #define MACH_TYPE_ARCHIMEDES 10
15 #define MACH_TYPE_A5K 11
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
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
31 #ifndef machine_arch_type
32 #error Unknown machine type
33 #define machine_arch_type __machine_arch_type
34 #endif
36 #endif