1
2
3
4
5
6
7 #ifndef __ASM_PROCINFO_H
8 #define __ASM_PROCINFO_H
9
10 #ifdef __KERNEL__
11
12 struct cpu_tlb_fns;
13 struct cpu_user_fns;
14 struct cpu_cache_fns;
15 struct processor;
16
17
18
19
20
21
22
23
24
25
26 struct proc_info_list {
27 unsigned int cpu_val;
28 unsigned int cpu_mask;
29 unsigned long __cpu_mm_mmu_flags;
30 unsigned long __cpu_io_mmu_flags;
31 unsigned long __cpu_flush;
32 const char *arch_name;
33 const char *elf_name;
34 unsigned int elf_hwcap;
35 const char *cpu_name;
36 struct processor *proc;
37 struct cpu_tlb_fns *tlb;
38 struct cpu_user_fns *user;
39 struct cpu_cache_fns *cache;
40 };
41
42 #else
43 #include <asm/elf.h>
44 #warning "Please include asm/elf.h instead"
45 #endif
46 #endif