x86/apic: Include genapic.h in delivery.c
PATCH 1/1 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 <[email protected]>
---
CC: Jan Beulich <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: [email protected] <[email protected]>
--- xen/arch/x86/genapic/delivery.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
xen/arch/x86/genapic/delivery.c +2 -1
@@ -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).
base-commit: 38febce5b35a7a4391906499b2046f01ec0129ca
Signature · 1 line
2.39.5
Quoted 4 lines · Andrew Cooper
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 <[email protected]>
Reviewed-by Stefano Stabellini <[email protected]>
Quoted 29 lines
---
CC: Jan Beulich <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: [email protected] <[email protected]>--- xen/arch/x86/genapic/delivery.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)xen/arch/x86/genapic/delivery.c +2
-1@@ -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). base-commit:
38febce5b35a7a4391906499b2046f01ec0129caSignature · 1 line
2.39.5