diff options
Diffstat (limited to 'kernel/arch/metag/include/asm/cpu.h')
-rw-r--r-- | kernel/arch/metag/include/asm/cpu.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/kernel/arch/metag/include/asm/cpu.h b/kernel/arch/metag/include/asm/cpu.h new file mode 100644 index 000000000..decf12969 --- /dev/null +++ b/kernel/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 */ |