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

Bin Meng bmeng.cn at gmail.com
Tue Nov 27 01:32:12 UTC 2018


Hi Simon,

On Tue, Nov 27, 2018 at 9:02 AM Simon Glass <sjg at chromium.org> wrote:
>
> 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 ?
>

Yes, I think so.

Regards,
Bin


More information about the U-Boot mailing list