File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ struct apic {
292
292
int (* acpi_madt_oem_check )(char * oem_id , char * oem_table_id );
293
293
bool (* apic_id_registered )(void );
294
294
295
- bool (* check_apicid_used )(physid_mask_t * map , int apicid );
295
+ bool (* check_apicid_used )(physid_mask_t * map , u32 apicid );
296
296
void (* init_apic_ldr )(void );
297
297
void (* ioapic_phys_id_map )(physid_mask_t * phys_map , physid_mask_t * retmap );
298
298
int (* cpu_present_to_apicid )(int mps_cpu );
@@ -538,7 +538,6 @@ extern int default_apic_id_valid(u32 apicid);
538
538
extern u32 apic_default_calc_apicid (unsigned int cpu );
539
539
extern u32 apic_flat_calc_apicid (unsigned int cpu );
540
540
541
- extern bool default_check_apicid_used (physid_mask_t * map , int apicid );
542
541
extern void default_ioapic_phys_id_map (physid_mask_t * phys_map , physid_mask_t * retmap );
543
542
extern int default_cpu_present_to_apicid (int mps_cpu );
544
543
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ u32 apic_flat_calc_apicid(unsigned int cpu)
18
18
return 1U << cpu ;
19
19
}
20
20
21
- bool default_check_apicid_used (physid_mask_t * map , int apicid )
21
+ bool default_check_apicid_used (physid_mask_t * map , u32 apicid )
22
22
{
23
23
return physid_isset (apicid , * map );
24
24
}
Original file line number Diff line number Diff line change @@ -158,8 +158,6 @@ static struct apic apic_physflat __ro_after_init = {
158
158
159
159
.disable_esr = 0 ,
160
160
161
- .check_apicid_used = NULL ,
162
- .ioapic_phys_id_map = NULL ,
163
161
.cpu_present_to_apicid = default_cpu_present_to_apicid ,
164
162
.phys_pkg_id = flat_phys_pkg_id ,
165
163
Original file line number Diff line number Diff line change 18
18
19
19
#include <asm/apic.h>
20
20
21
+ #include "local.h"
22
+
21
23
static void noop_send_IPI (int cpu , int vector ) { }
22
24
static void noop_send_IPI_mask (const struct cpumask * cpumask , int vector ) { }
23
25
static void noop_send_IPI_mask_allbutself (const struct cpumask * cpumask , int vector ) { }
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ static unsigned bigsmp_get_apic_id(unsigned long x)
18
18
return (x >> 24 ) & 0xFF ;
19
19
}
20
20
21
- static bool bigsmp_check_apicid_used (physid_mask_t * map , int apicid )
21
+ static bool bigsmp_check_apicid_used (physid_mask_t * map , u32 apicid )
22
22
{
23
23
return false;
24
24
}
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ void default_send_IPI_all(int vector);
64
64
void default_send_IPI_self (int vector );
65
65
66
66
bool default_apic_id_registered (void );
67
+ bool default_check_apicid_used (physid_mask_t * map , u32 apicid );
67
68
68
69
#ifdef CONFIG_X86_32
69
70
void default_send_IPI_mask_sequence_logical (const struct cpumask * mask , int vector );
You can’t perform that action at this time.
0 commit comments