2 * arch/arm/include/asm/glue-proc.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_GLUE_PROC_H
12 #define ASM_GLUE_PROC_H
17 * Work out if we need multiple CPU support
23 * CPU_NAME - the prefix for CPU related functions
26 #ifdef CONFIG_CPU_ARM610
31 # define CPU_NAME cpu_arm6
35 #ifdef CONFIG_CPU_ARM7TDMI
40 # define CPU_NAME cpu_arm7tdmi
44 #ifdef CONFIG_CPU_ARM710
49 # define CPU_NAME cpu_arm7
53 #ifdef CONFIG_CPU_ARM720T
58 # define CPU_NAME cpu_arm720
62 #ifdef CONFIG_CPU_ARM740T
67 # define CPU_NAME cpu_arm740
71 #ifdef CONFIG_CPU_ARM9TDMI
76 # define CPU_NAME cpu_arm9tdmi
80 #ifdef CONFIG_CPU_ARM920T
85 # define CPU_NAME cpu_arm920
89 #ifdef CONFIG_CPU_ARM922T
94 # define CPU_NAME cpu_arm922
98 #ifdef CONFIG_CPU_FA526
103 # define CPU_NAME cpu_fa526
107 #ifdef CONFIG_CPU_ARM925T
112 # define CPU_NAME cpu_arm925
116 #ifdef CONFIG_CPU_ARM926T
121 # define CPU_NAME cpu_arm926
125 #ifdef CONFIG_CPU_ARM940T
130 # define CPU_NAME cpu_arm940
134 #ifdef CONFIG_CPU_ARM946E
139 # define CPU_NAME cpu_arm946
143 #ifdef CONFIG_CPU_SA110
148 # define CPU_NAME cpu_sa110
152 #ifdef CONFIG_CPU_SA1100
157 # define CPU_NAME cpu_sa1100
161 #ifdef CONFIG_CPU_ARM1020
166 # define CPU_NAME cpu_arm1020
170 #ifdef CONFIG_CPU_ARM1020E
175 # define CPU_NAME cpu_arm1020e
179 #ifdef CONFIG_CPU_ARM1022
184 # define CPU_NAME cpu_arm1022
188 #ifdef CONFIG_CPU_ARM1026
193 # define CPU_NAME cpu_arm1026
197 #ifdef CONFIG_CPU_XSCALE
202 # define CPU_NAME cpu_xscale
206 #ifdef CONFIG_CPU_XSC3
211 # define CPU_NAME cpu_xsc3
215 #ifdef CONFIG_CPU_MOHAWK
220 # define CPU_NAME cpu_mohawk
224 #ifdef CONFIG_CPU_FEROCEON
229 # define CPU_NAME cpu_feroceon
233 #if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_V6K)
238 # define CPU_NAME cpu_v6
247 # define CPU_NAME cpu_v7
252 #define cpu_proc_init __glue(CPU_NAME,_proc_init)
253 #define cpu_proc_fin __glue(CPU_NAME,_proc_fin)
254 #define cpu_reset __glue(CPU_NAME,_reset)
255 #define cpu_do_idle __glue(CPU_NAME,_do_idle)
256 #define cpu_dcache_clean_area __glue(CPU_NAME,_dcache_clean_area)
257 #define cpu_do_switch_mm __glue(CPU_NAME,_switch_mm)
258 #define cpu_set_pte_ext __glue(CPU_NAME,_set_pte_ext)
259 #define cpu_suspend_size __glue(CPU_NAME,_suspend_size)
260 #define cpu_do_suspend __glue(CPU_NAME,_do_suspend)
261 #define cpu_do_resume __glue(CPU_NAME,_do_resume)