aboutsummaryrefslogtreecommitdiff
path: root/drivers/irqchip/irq-crossbar.c
diff options
context:
space:
mode:
authorGravatar Nathan Chancellor <nathan@kernel.org> 2022-11-08 17:03:07 -0700
committerGravatar Thomas Gleixner <tglx@linutronix.de> 2022-12-09 14:58:02 +0100
commit45be2ad007a9c6bea70249c4cf3e4905afe4caeb (patch)
treeaa1675fa4220a1830f9f52f58bc7233d2132edf9 /drivers/irqchip/irq-crossbar.c
parentuprobes/x86: Allow to probe a NOP instruction with 0x66 prefix (diff)
downloadlinux-45be2ad007a9c6bea70249c4cf3e4905afe4caeb.tar.gz
linux-45be2ad007a9c6bea70249c4cf3e4905afe4caeb.tar.bz2
linux-45be2ad007a9c6bea70249c4cf3e4905afe4caeb.zip
x86/vdso: Conditionally export __vdso_sgx_enter_enclave()
Recently, ld.lld moved from '--undefined-version' to '--no-undefined-version' as the default, which breaks building the vDSO when CONFIG_X86_SGX is not set: ld.lld: error: version script assignment of 'LINUX_2.6' to symbol '__vdso_sgx_enter_enclave' failed: symbol not defined __vdso_sgx_enter_enclave is only included in the vDSO when CONFIG_X86_SGX is set. Only export it if it will be present in the final object, which clears up the error. Fixes: 8466436952017 ("x86/vdso: Implement a vDSO for Intel SGX enclave call") Signed-off-by: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Link: https://github.com/ClangBuiltLinux/linux/issues/1756 Link: https://lore.kernel.org/r/20221109000306.1407357-1-nathan@kernel.org
Diffstat (limited to 'drivers/irqchip/irq-crossbar.c')
0 files changed, 0 insertions, 0 deletions