[ARM] Remove more 26-bit ARM support.
[linux-2.6/history.git] / include / asm-arm / proc-fns.h
blob9fcc8a89080ca92aad5cb24d0e9ebd73844c6153
1 /*
2 * linux/include/asm-arm/proc-fns.h
4 * Copyright (C) 1997-1999 Russell King
5 * Copyright (C) 2000 Deep Blue Solutions Ltd
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
11 #ifndef __ASM_PROCFNS_H
12 #define __ASM_PROCFNS_H
14 #ifdef __KERNEL__
16 #include <linux/config.h>
19 * Work out if we need multiple CPU support
21 #undef MULTI_CPU
22 #undef CPU_NAME
25 * CPU_NAME - the prefix for CPU related functions
28 #ifdef CONFIG_CPU_32
29 # define CPU_INCLUDE_NAME "asm/cpu-multi32.h"
30 # ifdef CONFIG_CPU_ARM610
31 # ifdef CPU_NAME
32 # undef MULTI_CPU
33 # define MULTI_CPU
34 # else
35 # define CPU_NAME cpu_arm6
36 # endif
37 # endif
38 # ifdef CONFIG_CPU_ARM710
39 # ifdef CPU_NAME
40 # undef MULTI_CPU
41 # define MULTI_CPU
42 # else
43 # define CPU_NAME cpu_arm7
44 # endif
45 # endif
46 # ifdef CONFIG_CPU_ARM720T
47 # ifdef CPU_NAME
48 # undef MULTI_CPU
49 # define MULTI_CPU
50 # else
51 # define CPU_NAME cpu_arm720
52 # endif
53 # endif
54 # ifdef CONFIG_CPU_ARM920T
55 # ifdef CPU_NAME
56 # undef MULTI_CPU
57 # define MULTI_CPU
58 # else
59 # define CPU_NAME cpu_arm920
60 # endif
61 # endif
62 # ifdef CONFIG_CPU_ARM922T
63 # ifdef CPU_NAME
64 # undef MULTI_CPU
65 # define MULTI_CPU
66 # else
67 # define CPU_NAME cpu_arm922
68 # endif
69 # endif
70 # ifdef CONFIG_CPU_ARM926T
71 # ifdef CPU_NAME
72 # undef MULTI_CPU
73 # define MULTI_CPU
74 # else
75 # define CPU_NAME cpu_arm926
76 # endif
77 # endif
78 # ifdef CONFIG_CPU_SA110
79 # ifdef CPU_NAME
80 # undef MULTI_CPU
81 # define MULTI_CPU
82 # else
83 # define CPU_NAME cpu_sa110
84 # endif
85 # endif
86 # ifdef CONFIG_CPU_SA1100
87 # ifdef CPU_NAME
88 # undef MULTI_CPU
89 # define MULTI_CPU
90 # else
91 # define CPU_NAME cpu_sa1100
92 # endif
93 # endif
94 # ifdef CONFIG_CPU_ARM1020
95 # ifdef CPU_NAME
96 # undef MULTI_CPU
97 # define MULTI_CPU
98 # else
99 # define CPU_NAME cpu_arm1020
100 # endif
101 # endif
102 # ifdef CONFIG_CPU_XSCALE
103 # ifdef CPU_NAME
104 # undef MULTI_CPU
105 # define MULTI_CPU
106 # else
107 # define CPU_NAME cpu_xscale
108 # endif
109 # endif
110 #endif
112 #ifndef MULTI_CPU
113 #undef CPU_INCLUDE_NAME
114 #define CPU_INCLUDE_NAME "asm/cpu-single.h"
115 #endif
117 #include CPU_INCLUDE_NAME
119 #endif /* __KERNEL__ */
120 #endif /* __ASM_PROCFNS_H */