mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
Arm: rename smp_clear_cpu_maps()
The function has lost all clearing operations. Use the commonly available name (declared in xen/smp.h), that x86 also uses. This then also addresses a Misra C:2012 rule 8.6 violation (not really covered by the deviation we have). Signed-off-by: Jan Beulich <jbeulich@suse.com> Reviewed-by: Michal Orzel <michal.orzel@amd.com>
This commit is contained in:
1 parent
d98df4c531
commit
8d31a735bc
3 files changed
+2
-4
No files matched your search
@@ -29,7 +29,6 @@ int cpu_up_send_sgi(int cpu);
|
||||
extern void init_secondary(void);
|
||||
|
||||
extern void smp_init_cpus(void);
|
||||
extern void smp_clear_cpu_maps (void);
|
||||
extern unsigned int smp_get_max_cpus(void);
|
||||
|
||||
#define cpu_physical_id(cpu) cpu_logical_map(cpu)
|
||||
|
||||
@@ -317,7 +317,7 @@ void asmlinkage __init start_xen(unsigned long fdt_paddr)
|
||||
/* Initialize traps early allow us to get backtrace when an error occurred */
|
||||
init_traps();
|
||||
|
||||
smp_clear_cpu_maps();
|
||||
smp_prepare_boot_cpu();
|
||||
|
||||
device_tree_flattened = early_fdt_map(fdt_paddr);
|
||||
if ( !device_tree_flattened )
|
||||
|
||||
@@ -107,8 +107,7 @@ static void remove_cpu_sibling_map(int cpu)
|
||||
free_cpumask_var(per_cpu(cpu_core_mask, cpu));
|
||||
}
|
||||
|
||||
void __init
|
||||
smp_clear_cpu_maps (void)
|
||||
void __init smp_prepare_boot_cpu(void)
|
||||
{
|
||||
cpumask_set_cpu(0, &cpu_online_map);
|
||||
cpumask_set_cpu(0, &cpu_possible_map);
|
||||
|
||||