diff options
Diffstat (limited to 'include/asm-arm/procinfo.h')
-rw-r--r-- | include/asm-arm/procinfo.h | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/include/asm-arm/procinfo.h b/include/asm-arm/procinfo.h index 91a31adfa8a8..4d3c685075e0 100644 --- a/include/asm-arm/procinfo.h +++ b/include/asm-arm/procinfo.h | |||
@@ -10,7 +10,7 @@ | |||
10 | #ifndef __ASM_PROCINFO_H | 10 | #ifndef __ASM_PROCINFO_H |
11 | #define __ASM_PROCINFO_H | 11 | #define __ASM_PROCINFO_H |
12 | 12 | ||
13 | #ifndef __ASSEMBLY__ | 13 | #ifdef __KERNEL__ |
14 | 14 | ||
15 | struct cpu_tlb_fns; | 15 | struct cpu_tlb_fns; |
16 | struct cpu_user_fns; | 16 | struct cpu_user_fns; |
@@ -42,19 +42,8 @@ struct proc_info_list { | |||
42 | struct cpu_cache_fns *cache; | 42 | struct cpu_cache_fns *cache; |
43 | }; | 43 | }; |
44 | 44 | ||
45 | extern unsigned int elf_hwcap; | 45 | #else /* __KERNEL__ */ |
46 | 46 | #include <asm/elf.h> | |
47 | #endif /* __ASSEMBLY__ */ | 47 | #warning "Please include asm/elf.h instead" |
48 | 48 | #endif /* __KERNEL__ */ | |
49 | #define HWCAP_SWP 1 | ||
50 | #define HWCAP_HALF 2 | ||
51 | #define HWCAP_THUMB 4 | ||
52 | #define HWCAP_26BIT 8 /* Play it safe */ | ||
53 | #define HWCAP_FAST_MULT 16 | ||
54 | #define HWCAP_FPA 32 | ||
55 | #define HWCAP_VFP 64 | ||
56 | #define HWCAP_EDSP 128 | ||
57 | #define HWCAP_JAVA 256 | ||
58 | #define HWCAP_IWMMXT 512 | ||
59 | |||
60 | #endif | 49 | #endif |