[U-Boot] [PATCH 10/13] x86: irq: Change LINK_V2N and LINK_N2V to inline functions

Simon Glass sjg at chromium.org
Thu Jun 7 20:33:39 UTC 2018


On 3 June 2018 at 18:04, Bin Meng <bmeng.cn at gmail.com> wrote:
> LINK_V2N and LINK_N2V are currently defines, so they cannot handle
> complex logics. Change to inline functions for future extension.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
>  arch/x86/cpu/irq.c         | 18 +++++++++++-------
>  arch/x86/include/asm/irq.h | 26 +++++++++++++++++++++++---
>  2 files changed, 34 insertions(+), 10 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list