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_SA110
84 # define CPU_NAME sa110
87 # ifdef CONFIG_CPU_SA1100
92 # define CPU_NAME sa1100
98 #undef CPU_INCLUDE_NAME
99 #define CPU_INCLUDE_NAME "asm/cpu-single.h"
102 #include CPU_INCLUDE_NAME
104 #endif /* __KERNEL__ */
107 * The following is to fool mkdep into generating the correct
108 * dependencies. Without this, it cant figure out that this
109 * file does indeed depend on the cpu-*.h files.
110 #include <asm/cpu-single.h>
111 #include <asm/cpu-multi26.h>
112 #include <asm/cpu-multi32.h>
116 #endif /* __ASM_PROCFNS_H */