summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/glue-proc.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/glue-proc.h')
-rw-r--r--arch/arm/include/asm/glue-proc.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/include/asm/glue-proc.h b/arch/arm/include/asm/glue-proc.h
index ac1dd54..f2f39bc 100644
--- a/arch/arm/include/asm/glue-proc.h
+++ b/arch/arm/include/asm/glue-proc.h
@@ -230,6 +230,15 @@
# endif
#endif
+#ifdef CONFIG_CPU_V7M
+# ifdef CPU_NAME
+# undef MULTI_CPU
+# define MULTI_CPU
+# else
+# define CPU_NAME cpu_v7m
+# endif
+#endif
+
#ifndef MULTI_CPU
#define cpu_proc_init __glue(CPU_NAME,_proc_init)
#define cpu_proc_fin __glue(CPU_NAME,_proc_fin)
OpenPOWER on IntegriCloud