hv: change xsave init function name

change pcpu_xsave_init to init_pcpu_xsave.

Tracked-On: #4166
Signed-off-by: Conghui Chen <conghui.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Conghui Chen 2019-11-27 15:08:01 +00:00 committed by wenlingz
parent 12a3ec8aa1
commit 8ba203a165
1 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ static uint64_t startup_paddr = 0UL;
/* physical cpu active bitmap, support up to 64 cpus */
static volatile uint64_t pcpu_active_bitmap = 0UL;
static void pcpu_xsave_init(void);
static void init_pcpu_xsave(void);
static void set_current_pcpu_id(uint16_t pcpu_id);
static void print_hv_banner(void);
static uint16_t get_pcpu_id_from_lapic_id(uint32_t lapic_id);
@ -186,7 +186,7 @@ void init_pcpu_post(uint16_t pcpu_id)
#endif
load_gdtr_and_tr();
pcpu_xsave_init();
init_pcpu_xsave();
if (pcpu_id == BOOT_CPU_ID) {
/* Print Hypervisor Banner */
@ -472,7 +472,7 @@ void wait_sync_change(volatile const uint64_t *sync, uint64_t wake_sync)
}
}
static void pcpu_xsave_init(void)
static void init_pcpu_xsave(void)
{
uint64_t val64;
struct cpuinfo_x86 *cpu_info;