0001
0002
0003
0004
0005
0006
0007 #ifndef __ASM_PROCINFO_H
0008 #define __ASM_PROCINFO_H
0009
0010 #ifdef __KERNEL__
0011
0012 struct cpu_tlb_fns;
0013 struct cpu_user_fns;
0014 struct cpu_cache_fns;
0015 struct processor;
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026 struct proc_info_list {
0027 unsigned int cpu_val;
0028 unsigned int cpu_mask;
0029 unsigned long __cpu_mm_mmu_flags;
0030 unsigned long __cpu_io_mmu_flags;
0031 unsigned long __cpu_flush;
0032 const char *arch_name;
0033 const char *elf_name;
0034 unsigned int elf_hwcap;
0035 const char *cpu_name;
0036 struct processor *proc;
0037 struct cpu_tlb_fns *tlb;
0038 struct cpu_user_fns *user;
0039 struct cpu_cache_fns *cache;
0040 };
0041
0042 #else
0043 #include <asm/elf.h>
0044 #warning "Please include asm/elf.h instead"
0045 #endif
0046 #endif