x86: Wrap calls to 8259 with CONFIG_I8259_PIC
authorBin Meng <bmeng.cn@gmail.com>
Fri, 30 Nov 2018 03:57:21 +0000 (19:57 -0800)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 10 Dec 2018 02:14:30 +0000 (10:14 +0800)
commitc641010452a7f651cf77dc0d0f252ef25f1badf0
tree79377329cab2f77012b459c010af6a47af171951
parentda4cfa6b442809fc99a6b75255a99eee51a4e13b
x86: Wrap calls to 8259 with CONFIG_I8259_PIC

mask_irq(), unmask_irq() and specific_eoi() are provided by the
i8259 PIC driver and should be wrapped with CONFIG_I8259_PIC.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Hannes Schmelzer <oe5hpm@oevsv.at>
arch/x86/lib/interrupts.c