From f7dc972fde66d93143c3f6927087c13ae74a4828 Mon Sep 17 00:00:00 2001 From: Marc Jones Date: Sat, 31 Mar 2018 22:45:35 -0600 Subject: ioapic: extend definition name to avoid collision Change EN/DISABLED to INT_EN/DISABLED to avoid collision with other EN/DISABLE definition. Change-Id: I85b1c544d0f31340a09e18f4b36c1942ea0fa6ef Signed-off-by: Marc Jones Reviewed-on: https://review.coreboot.org/25540 Reviewed-by: Martin Roth Tested-by: build bot (Jenkins) --- src/arch/x86/include/arch/ioapic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/arch/x86/include') diff --git a/src/arch/x86/include/arch/ioapic.h b/src/arch/x86/include/arch/ioapic.h index ad96ba3a5f..bc229d9952 100644 --- a/src/arch/x86/include/arch/ioapic.h +++ b/src/arch/x86/include/arch/ioapic.h @@ -26,8 +26,8 @@ #define ALL (0xff << 24) #define NONE (0) -#define DISABLED (1 << 16) -#define ENABLED (0 << 16) +#define INT_DISABLED (1 << 16) +#define INT_ENABLED (0 << 16) #define TRIGGER_EDGE (0 << 15) #define TRIGGER_LEVEL (1 << 15) #define POLARITY_HIGH (0 << 13) -- cgit v1.2.3