]> xenbits.xensource.com Git - xen.git/commitdiff
x86/apic: Include genapic.h in delivery.c
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 12 Nov 2024 21:38:18 +0000 (21:38 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 13 Nov 2024 19:13:05 +0000 (19:13 +0000)
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@citrix.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/x86/genapic/delivery.c

index 7bb7bd658650052c9cf95796bd116faef0090d49..15100439be05a96ea717f71dc3e1f1a3438a5015 100644 (file)
@@ -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).