Go to the documentation of this file.
12 #ifndef __ASM_CPU_INFO_H
13 #define __ASM_CPU_INFO_H
15 #include <linux/types.h>
17 #include <asm/cache.h>
34 #define MIPS_CACHE_NOT_PRESENT 0x00000001
35 #define MIPS_CACHE_VTAG 0x00000002
36 #define MIPS_CACHE_ALIASES 0x00000004
37 #define MIPS_CACHE_IC_F_DC 0x00000008
38 #define MIPS_IC_SNOOPS_REMOTE 0x00000010
39 #define MIPS_CACHE_PINDEX 0x00000020
64 #if defined(CONFIG_MIPS_MT_SMP) || defined(CONFIG_MIPS_MT_SMTC)
73 #ifdef CONFIG_MIPS_MT_SMTC
79 #define NUM_WATCH_REGS 4
85 #define current_cpu_data cpu_data[smp_processor_id()]
86 #define raw_current_cpu_data cpu_data[raw_smp_processor_id()]
92 #define cpu_name_string() __cpu_name[smp_processor_id()]