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 # define CPU_INCLUDE_NAME "asm/cpu-multi26.h"
30 # define CPU_INCLUDE_NAME "asm/cpu-multi32.h"
31 # ifdef CONFIG_CPU_ARM610
36 # define CPU_NAME arm6
39 # ifdef CONFIG_CPU_ARM710
44 # define CPU_NAME arm7
47 # ifdef CONFIG_CPU_ARM720T
52 # define CPU_NAME arm720
55 # ifdef CONFIG_CPU_ARM920T
60 # define CPU_NAME arm920
63 # ifdef CONFIG_CPU_ARM922T
68 # define CPU_NAME arm922
71 # ifdef CONFIG_CPU_ARM926T
76 # define CPU_NAME arm926
79 # ifdef CONFIG_CPU_ARM1026
84 # define CPU_NAME arm1026
87 # ifdef CONFIG_CPU_SA110
92 # define CPU_NAME sa110
95 # ifdef CONFIG_CPU_SA1100
100 # define CPU_NAME sa1100
106 #undef CPU_INCLUDE_NAME
107 #define CPU_INCLUDE_NAME "asm/cpu-single.h"
110 #include CPU_INCLUDE_NAME
112 #endif /* __KERNEL__ */
115 * The following is to fool mkdep into generating the correct
116 * dependencies. Without this, it cant figure out that this
117 * file does indeed depend on the cpu-*.h files.
118 #include <asm/cpu-single.h>
119 #include <asm/cpu-multi26.h>
120 #include <asm/cpu-multi32.h>
124 #endif /* __ASM_PROCFNS_H */