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
16 #include <linux/config.h>
19 * Work out if we need multiple CPU support
25 * CPU_NAME - the prefix for CPU related functions
29 # define CPU_INCLUDE_NAME "asm/cpu-multi32.h"
30 # ifdef CONFIG_CPU_ARM610
35 # define CPU_NAME cpu_arm6
38 # ifdef CONFIG_CPU_ARM710
43 # define CPU_NAME cpu_arm7
46 # ifdef CONFIG_CPU_ARM720T
51 # define CPU_NAME cpu_arm720
54 # ifdef CONFIG_CPU_ARM920T
59 # define CPU_NAME cpu_arm920
62 # ifdef CONFIG_CPU_ARM922T
67 # define CPU_NAME cpu_arm922
70 # ifdef CONFIG_CPU_ARM926T
75 # define CPU_NAME cpu_arm926
78 # ifdef CONFIG_CPU_SA110
83 # define CPU_NAME cpu_sa110
86 # ifdef CONFIG_CPU_SA1100
91 # define CPU_NAME cpu_sa1100
94 # ifdef CONFIG_CPU_ARM1020
99 # define CPU_NAME cpu_arm1020
102 # ifdef CONFIG_CPU_XSCALE
107 # define CPU_NAME cpu_xscale
113 #undef CPU_INCLUDE_NAME
114 #define CPU_INCLUDE_NAME "asm/cpu-single.h"
117 #include CPU_INCLUDE_NAME
119 #endif /* __KERNEL__ */
120 #endif /* __ASM_PROCFNS_H */