[U-Boot] [PATCH 1/2] x86: Wrap calls to 8259 with CONFIG_I8259_PIC

Simon Glass sjg at chromium.org
Tue Nov 27 01:02:21 UTC 2018


Hi Bin,

On Mon, 19 Nov 2018 at 03:44, Bin Meng <bmeng.cn at gmail.com> wrote:
>
> 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 at gmail.com>
> ---
>
>  arch/x86/lib/interrupts.c | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)

Is it possible to use if() instead of #if ?

Regards,
Simon


More information about the U-Boot mailing list