]> git.baikalelectronics.ru Git - uboot.git/commit
x86: irq: Change LINK_V2N and LINK_N2V to inline functions
authorBin Meng <bmeng.cn@gmail.com>
Mon, 4 Jun 2018 02:04:23 +0000 (19:04 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 13 Jun 2018 01:50:57 +0000 (09:50 +0800)
commit483d0a4a92e886b350c13ace52210f64e6243430
tree55b9efb69b0e06cc5215e266e0020ce46c6db33b
parentb4c3f1c7d9906e57395c597b34af3082ce1f4b2d
x86: irq: Change LINK_V2N and LINK_N2V to inline functions

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@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/irq.c
arch/x86/include/asm/irq.h