HV: prototyping non-static function

Includes header file of non-static function, and declare the
in-file use function static.

Signed-off-by: Yang, Yu-chu <yu-chu.yang@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
Yang, Yu-chu
2018-07-12 13:14:13 -07:00
committed by lijinxia
parent 8925eb5647
commit 90b342bd53
18 changed files with 24 additions and 16 deletions

View File

@@ -407,7 +407,7 @@ void setup_ioapic_irq(void)
ASSERT(nr_gsi <= NR_MAX_GSI, "GSI table overflow");
}
void dump_ioapic(void)
static void dump_ioapic(void)
{
uint32_t irq;
@@ -457,7 +457,7 @@ void resume_ioapic(void)
}
#ifdef HV_DEBUG
void get_rte_info(struct ioapic_rte *rte, bool *mask, bool *irr,
static void get_rte_info(struct ioapic_rte *rte, bool *mask, bool *irr,
bool *phys, uint32_t *delmode, bool *level, uint32_t *vector, uint32_t *dest)
{
*mask = ((rte->lo_32 & IOAPIC_RTE_INTMASK) == IOAPIC_RTE_INTMSET);