[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen master] x86/apic: Include genapic.h in delivery.c



commit 5c8b638c2a179016b0aa1b588dc70234f2bd6aa1
Author:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
AuthorDate: Tue Nov 12 21:38:18 2024 +0000
Commit:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CommitDate: Wed Nov 13 19:13:05 2024 +0000

    x86/apic: Include genapic.h in delivery.c
    
    This resolves 4 Misra violations of Rule 8.4 caused by the function
    definitions not being able to see their declarations.
    
    Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
    Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
---
 xen/arch/x86/genapic/delivery.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/xen/arch/x86/genapic/delivery.c b/xen/arch/x86/genapic/delivery.c
index 7bb7bd6586..15100439be 100644
--- a/xen/arch/x86/genapic/delivery.c
+++ b/xen/arch/x86/genapic/delivery.c
@@ -3,8 +3,9 @@
 
 #include <asm/apic.h>
 #include <asm/current.h>
-#include <asm/smp.h>
+#include <asm/genapic.h>
 #include <asm/hardirq.h>
+#include <asm/smp.h>
 
 /*
  * LOGICAL FLAT DELIVERY MODE (multicast via bitmask to <= 8 logical APIC IDs).
--
generated by git-patchbot for /home/xen/git/xen.git#master



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.