refactor: rename struct interrupt
Trivial patch that renames struct interrupt to struct interrupt_info.
vcpu.h already has a struct interrupts which makes the two struct names
differ by one letter that makes it confusing to read code.
Signed-off-by: Raghu Krishnamurthy <raghu.ncstate@gmail.com>
Change-Id: I6d6dfd502a3664b0024242a0e0d387ea229bf642
diff --git a/src/load.c b/src/load.c
index 431d82c..9c6ec61 100644
--- a/src/load.c
+++ b/src/load.c
@@ -127,7 +127,7 @@
return true;
}
-static void infer_interrupt(struct interrupt interrupt,
+static void infer_interrupt(struct interrupt_info interrupt,
struct interrupt_descriptor *int_desc)
{
uint32_t attr = interrupt.attributes;
@@ -156,7 +156,7 @@
struct mpool *ppool)
{
struct device_region dev_region;
- struct interrupt interrupt;
+ struct interrupt_info interrupt;
uint32_t k = 0;
vm_locked.vm->smc_whitelist = manifest_vm->smc_whitelist;