summaryrefslogtreecommitdiff
path: root/arch/x86/include
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-10-22 19:13:26 -0700
committerBin Meng <bmeng.cn@gmail.com>2015-11-13 06:46:16 -0800
commit6c5052716e252d8ccbf161042b5a167fb1090030 (patch)
treea7d378d26174a990257f3a65d1af0408d7b7bb09 /arch/x86/include
parent9ac4fc82071ce346e3885118242ff45d22f69b82 (diff)
downloadu-boot-imx-6c5052716e252d8ccbf161042b5a167fb1090030.zip
u-boot-imx-6c5052716e252d8ccbf161042b5a167fb1090030.tar.gz
u-boot-imx-6c5052716e252d8ccbf161042b5a167fb1090030.tar.bz2
x86: Rename CONFIG_SYS_NUM_IRQS to SYS_NUM_IRQS
CONFIG_SYS_NUM_IRQS is actually not something we can configure, but an architecture defined number of ISA IRQs. Move it from x86-common.h to asm/interrupt.h and rename it to SYS_NUM_IRQS. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/interrupt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/interrupt.h b/arch/x86/include/asm/interrupt.h
index fcd766b..95a4de0 100644
--- a/arch/x86/include/asm/interrupt.h
+++ b/arch/x86/include/asm/interrupt.h
@@ -13,6 +13,8 @@
#include <asm/types.h>
+#define SYS_NUM_IRQS 16
+
/* Architecture defined exceptions */
enum x86_exception {
EXC_DE = 0,