aboutsummaryrefslogtreecommitdiff
path: root/src/arch/x86/include
diff options
context:
space:
mode:
authorMarc Jones <marc.jones@scarletltd.com>2018-03-31 22:45:35 -0600
committerPatrick Georgi <pgeorgi@google.com>2018-04-09 09:29:51 +0000
commitf7dc972fde66d93143c3f6927087c13ae74a4828 (patch)
tree31f81790434b4d17fbc5d15f5a8e1edd6cf9fd29 /src/arch/x86/include
parent4764be33e04aacc6f22645249046ed0524aaa529 (diff)
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 <marc.jones@scarletltd.com> Reviewed-on: https://review.coreboot.org/25540 Reviewed-by: Martin Roth <martinroth@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/arch/x86/include')
-rw-r--r--src/arch/x86/include/arch/ioapic.h4
1 files changed, 2 insertions, 2 deletions
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)