From 5c8b638c2a179016b0aa1b588dc70234f2bd6aa1 Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Tue, 12 Nov 2024 21:38:18 +0000 Subject: [PATCH] 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 Reviewed-by: Stefano Stabellini --- 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 #include -#include +#include #include +#include /* * LOGICAL FLAT DELIVERY MODE (multicast via bitmask to <= 8 logical APIC IDs). -- 2.39.5