HV: rename functions in cpu.c

- rename 'cpu_set_logical_id()' to 'set_current_cpu_id()'
- rename 'cpu_find_logical_id()' to 'get_cpu_id_from_lapic_id()'
- some clean up in cpu.c & trampolines.s

Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
This commit is contained in:
Yonghua Huang
2018-07-05 17:29:51 +08:00
committed by lijinxia
parent 0621b24819
commit 3f9b0d53f5
3 changed files with 12 additions and 18 deletions

View File

@@ -146,8 +146,6 @@
#ifndef ASSEMBLER
int cpu_find_logical_id(uint8_t lapic_id);
/**********************************/
/* EXTERNAL VARIABLES */
/**********************************/