diff options
Diffstat (limited to 'include/asm-ia64/intel_intrin.h')
-rw-r--r-- | include/asm-ia64/intel_intrin.h | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/include/asm-ia64/intel_intrin.h b/include/asm-ia64/intel_intrin.h index a520d103d808..53cec577558a 100644 --- a/include/asm-ia64/intel_intrin.h +++ b/include/asm-ia64/intel_intrin.h | |||
@@ -16,8 +16,8 @@ | |||
16 | * intrinsic | 16 | * intrinsic |
17 | */ | 17 | */ |
18 | 18 | ||
19 | #define ia64_getreg __getReg | 19 | #define ia64_native_getreg __getReg |
20 | #define ia64_setreg __setReg | 20 | #define ia64_native_setreg __setReg |
21 | 21 | ||
22 | #define ia64_hint __hint | 22 | #define ia64_hint __hint |
23 | #define ia64_hint_pause __hint_pause | 23 | #define ia64_hint_pause __hint_pause |
@@ -39,10 +39,10 @@ | |||
39 | #define ia64_invala_fr __invala_fr | 39 | #define ia64_invala_fr __invala_fr |
40 | #define ia64_nop __nop | 40 | #define ia64_nop __nop |
41 | #define ia64_sum __sum | 41 | #define ia64_sum __sum |
42 | #define ia64_ssm __ssm | 42 | #define ia64_native_ssm __ssm |
43 | #define ia64_rum __rum | 43 | #define ia64_rum __rum |
44 | #define ia64_rsm __rsm | 44 | #define ia64_native_rsm __rsm |
45 | #define ia64_fc __fc | 45 | #define ia64_native_fc __fc |
46 | 46 | ||
47 | #define ia64_ldfs __ldfs | 47 | #define ia64_ldfs __ldfs |
48 | #define ia64_ldfd __ldfd | 48 | #define ia64_ldfd __ldfd |
@@ -88,16 +88,17 @@ | |||
88 | __setIndReg(_IA64_REG_INDR_PMC, index, val) | 88 | __setIndReg(_IA64_REG_INDR_PMC, index, val) |
89 | #define ia64_set_pmd(index, val) \ | 89 | #define ia64_set_pmd(index, val) \ |
90 | __setIndReg(_IA64_REG_INDR_PMD, index, val) | 90 | __setIndReg(_IA64_REG_INDR_PMD, index, val) |
91 | #define ia64_set_rr(index, val) \ | 91 | #define ia64_native_set_rr(index, val) \ |
92 | __setIndReg(_IA64_REG_INDR_RR, index, val) | 92 | __setIndReg(_IA64_REG_INDR_RR, index, val) |
93 | 93 | ||
94 | #define ia64_get_cpuid(index) __getIndReg(_IA64_REG_INDR_CPUID, index) | 94 | #define ia64_native_get_cpuid(index) \ |
95 | #define __ia64_get_dbr(index) __getIndReg(_IA64_REG_INDR_DBR, index) | 95 | __getIndReg(_IA64_REG_INDR_CPUID, index) |
96 | #define ia64_get_ibr(index) __getIndReg(_IA64_REG_INDR_IBR, index) | 96 | #define __ia64_get_dbr(index) __getIndReg(_IA64_REG_INDR_DBR, index) |
97 | #define ia64_get_pkr(index) __getIndReg(_IA64_REG_INDR_PKR, index) | 97 | #define ia64_get_ibr(index) __getIndReg(_IA64_REG_INDR_IBR, index) |
98 | #define ia64_get_pmc(index) __getIndReg(_IA64_REG_INDR_PMC, index) | 98 | #define ia64_get_pkr(index) __getIndReg(_IA64_REG_INDR_PKR, index) |
99 | #define ia64_get_pmd(index) __getIndReg(_IA64_REG_INDR_PMD, index) | 99 | #define ia64_get_pmc(index) __getIndReg(_IA64_REG_INDR_PMC, index) |
100 | #define ia64_get_rr(index) __getIndReg(_IA64_REG_INDR_RR, index) | 100 | #define ia64_native_get_pmd(index) __getIndReg(_IA64_REG_INDR_PMD, index) |
101 | #define ia64_native_get_rr(index) __getIndReg(_IA64_REG_INDR_RR, index) | ||
101 | 102 | ||
102 | #define ia64_srlz_d __dsrlz | 103 | #define ia64_srlz_d __dsrlz |
103 | #define ia64_srlz_i __isrlz | 104 | #define ia64_srlz_i __isrlz |
@@ -119,16 +120,16 @@ | |||
119 | #define ia64_ld8_acq __ld8_acq | 120 | #define ia64_ld8_acq __ld8_acq |
120 | 121 | ||
121 | #define ia64_sync_i __synci | 122 | #define ia64_sync_i __synci |
122 | #define ia64_thash __thash | 123 | #define ia64_native_thash __thash |
123 | #define ia64_ttag __ttag | 124 | #define ia64_native_ttag __ttag |
124 | #define ia64_itcd __itcd | 125 | #define ia64_itcd __itcd |
125 | #define ia64_itci __itci | 126 | #define ia64_itci __itci |
126 | #define ia64_itrd __itrd | 127 | #define ia64_itrd __itrd |
127 | #define ia64_itri __itri | 128 | #define ia64_itri __itri |
128 | #define ia64_ptce __ptce | 129 | #define ia64_ptce __ptce |
129 | #define ia64_ptcl __ptcl | 130 | #define ia64_ptcl __ptcl |
130 | #define ia64_ptcg __ptcg | 131 | #define ia64_native_ptcg __ptcg |
131 | #define ia64_ptcga __ptcga | 132 | #define ia64_native_ptcga __ptcga |
132 | #define ia64_ptri __ptri | 133 | #define ia64_ptri __ptri |
133 | #define ia64_ptrd __ptrd | 134 | #define ia64_ptrd __ptrd |
134 | #define ia64_dep_mi _m64_dep_mi | 135 | #define ia64_dep_mi _m64_dep_mi |
@@ -145,13 +146,13 @@ | |||
145 | #define ia64_lfetch_fault __lfetch_fault | 146 | #define ia64_lfetch_fault __lfetch_fault |
146 | #define ia64_lfetch_fault_excl __lfetch_fault_excl | 147 | #define ia64_lfetch_fault_excl __lfetch_fault_excl |
147 | 148 | ||
148 | #define ia64_intrin_local_irq_restore(x) \ | 149 | #define ia64_native_intrin_local_irq_restore(x) \ |
149 | do { \ | 150 | do { \ |
150 | if ((x) != 0) { \ | 151 | if ((x) != 0) { \ |
151 | ia64_ssm(IA64_PSR_I); \ | 152 | ia64_native_ssm(IA64_PSR_I); \ |
152 | ia64_srlz_d(); \ | 153 | ia64_srlz_d(); \ |
153 | } else { \ | 154 | } else { \ |
154 | ia64_rsm(IA64_PSR_I); \ | 155 | ia64_native_rsm(IA64_PSR_I); \ |
155 | } \ | 156 | } \ |
156 | } while (0) | 157 | } while (0) |
157 | 158 | ||