@@ -105,7 +105,7 @@ static bool cpu_is_self(int cpu)
105
105
* IPI implementation on Hyper-V.
106
106
*/
107
107
static bool __send_ipi_mask_ex (const struct cpumask * mask , int vector ,
108
- bool exclude_self )
108
+ bool exclude_self )
109
109
{
110
110
struct hv_send_ipi_ex * ipi_arg ;
111
111
unsigned long flags ;
@@ -132,8 +132,8 @@ static bool __send_ipi_mask_ex(const struct cpumask *mask, int vector,
132
132
if (!cpumask_equal (mask , cpu_present_mask ) || exclude_self ) {
133
133
ipi_arg -> vp_set .format = HV_GENERIC_SET_SPARSE_4K ;
134
134
135
- nr_bank = cpumask_to_vpset_skip (& ( ipi_arg -> vp_set ) , mask ,
136
- exclude_self ? cpu_is_self : NULL );
135
+ nr_bank = cpumask_to_vpset_skip (& ipi_arg -> vp_set , mask ,
136
+ exclude_self ? cpu_is_self : NULL );
137
137
138
138
/*
139
139
* 'nr_bank <= 0' means some CPUs in cpumask can't be
@@ -147,15 +147,15 @@ static bool __send_ipi_mask_ex(const struct cpumask *mask, int vector,
147
147
}
148
148
149
149
status = hv_do_rep_hypercall (HVCALL_SEND_IPI_EX , 0 , nr_bank ,
150
- ipi_arg , NULL );
150
+ ipi_arg , NULL );
151
151
152
152
ipi_mask_ex_done :
153
153
local_irq_restore (flags );
154
154
return hv_result_success (status );
155
155
}
156
156
157
157
static bool __send_ipi_mask (const struct cpumask * mask , int vector ,
158
- bool exclude_self )
158
+ bool exclude_self )
159
159
{
160
160
int cur_cpu , vcpu , this_cpu = smp_processor_id ();
161
161
struct hv_send_ipi ipi_arg ;
@@ -181,7 +181,7 @@ static bool __send_ipi_mask(const struct cpumask *mask, int vector,
181
181
return false;
182
182
}
183
183
184
- if (( vector < HV_IPI_LOW_VECTOR ) || ( vector > HV_IPI_HIGH_VECTOR ) )
184
+ if (vector < HV_IPI_LOW_VECTOR || vector > HV_IPI_HIGH_VECTOR )
185
185
return false;
186
186
187
187
/*
@@ -218,7 +218,7 @@ static bool __send_ipi_mask(const struct cpumask *mask, int vector,
218
218
}
219
219
220
220
status = hv_do_fast_hypercall16 (HVCALL_SEND_IPI , ipi_arg .vector ,
221
- ipi_arg .cpu_mask );
221
+ ipi_arg .cpu_mask );
222
222
return hv_result_success (status );
223
223
224
224
do_ex_hypercall :
@@ -241,7 +241,7 @@ static bool __send_ipi_one(int cpu, int vector)
241
241
return false;
242
242
}
243
243
244
- if (( vector < HV_IPI_LOW_VECTOR ) || ( vector > HV_IPI_HIGH_VECTOR ) )
244
+ if (vector < HV_IPI_LOW_VECTOR || vector > HV_IPI_HIGH_VECTOR )
245
245
return false;
246
246
247
247
if (vp >= 64 )
0 commit comments