bugfix: make remove_intx_remapping static
remove_intx_remapping is not global function, make static. Unlike global functions in C, access to static functions is restricted to the file where they are declared. Another reason for making functions static can be reuse of the same function name in other files Signed-off-by: Chris Ye <chris.ye@intel.com>
This commit is contained in:
parent
417d17e031
commit
59f1f005aa
|
@ -422,7 +422,7 @@ add_intx_remapping(struct vm *vm, uint8_t virt_pin,
|
|||
}
|
||||
|
||||
/* deactive & remove mapping entry of vpin for vm */
|
||||
void remove_intx_remapping(struct vm *vm, uint8_t virt_pin, bool pic_pin)
|
||||
static void remove_intx_remapping(struct vm *vm, uint8_t virt_pin, bool pic_pin)
|
||||
{
|
||||
int phys_irq;
|
||||
struct ptdev_remapping_info *entry;
|
||||
|
|
Loading…
Reference in New Issue