diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2015-10-23 02:13:26 (GMT) |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2015-11-13 14:46:16 (GMT) |
commit | 6c5052716e252d8ccbf161042b5a167fb1090030 (patch) | |
tree | a7d378d26174a990257f3a65d1af0408d7b7bb09 /arch/x86/include | |
parent | 9ac4fc82071ce346e3885118242ff45d22f69b82 (diff) | |
download | u-boot-6c5052716e252d8ccbf161042b5a167fb1090030.tar.xz |
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.h | 2 |
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, |