aboutsummaryrefslogtreecommitdiff
path: root/arch/metag/include/asm/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/metag/include/asm/cpu.h')
-rw-r--r--arch/metag/include/asm/cpu.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/metag/include/asm/cpu.h b/arch/metag/include/asm/cpu.h
new file mode 100644
index 00000000000..decf1296926
--- /dev/null
+++ b/arch/metag/include/asm/cpu.h
@@ -0,0 +1,14 @@
+#ifndef _ASM_METAG_CPU_H
+#define _ASM_METAG_CPU_H
+
+#include <linux/percpu.h>
+
+struct cpuinfo_metag {
+ struct cpu cpu;
+#ifdef CONFIG_SMP
+ unsigned long loops_per_jiffy;
+#endif
+};
+
+DECLARE_PER_CPU(struct cpuinfo_metag, cpu_data);
+#endif /* _ASM_METAG_CPU_H */