]> git.dujemihanovic.xyz Git - u-boot.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)
commit594d089c8a6439910b7df784e8929b65229b9e91
tree55b9efb69b0e06cc5215e266e0020ce46c6db33b
parentbc728b1bc0091e5614e82a499820ee8983c7a0b3
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