aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/proc-fns.h
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2007-05-08 22:27:46 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-05-08 22:55:53 +0100
commitbbe888864ec32435e93923c40b9d6ce2bb73844b (patch)
treedb607482fe5898da9a599368d0bbe579a56b272c /include/asm-arm/proc-fns.h
parent5b94f675f57e4ff16c8fda09088d7480a84dcd91 (diff)
downloadkernel_samsung_smdk4412-bbe888864ec32435e93923c40b9d6ce2bb73844b.zip
kernel_samsung_smdk4412-bbe888864ec32435e93923c40b9d6ce2bb73844b.tar.gz
kernel_samsung_smdk4412-bbe888864ec32435e93923c40b9d6ce2bb73844b.tar.bz2
[ARM] armv7: add support for ARMv7 cores.
This patch adds support for the ARMv7 cores. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/proc-fns.h')
-rw-r--r--include/asm-arm/proc-fns.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-arm/proc-fns.h b/include/asm-arm/proc-fns.h
index ea7e54c..5599d4e 100644
--- a/include/asm-arm/proc-fns.h
+++ b/include/asm-arm/proc-fns.h
@@ -193,6 +193,14 @@
# define CPU_NAME cpu_v6
# endif
# endif
+# ifdef CONFIG_CPU_V7
+# ifdef CPU_NAME
+# undef MULTI_CPU
+# define MULTI_CPU
+# else
+# define CPU_NAME cpu_v7
+# endif
+# endif
#endif
#ifndef __ASSEMBLY__