Re: [PATCH 1/2] asm-generic: export: Stub EXPORT_SYMBOL with __DISABLE_EXPORTS
From: Will Deacon <will@kernel.org>
Date: 2021-02-03 15:25:46
Also in:
kvmarm, linux-arch, lkml
From: Will Deacon <will@kernel.org>
Date: 2021-02-03 15:25:46
Also in:
kvmarm, linux-arch, lkml
On Wed, Feb 03, 2021 at 02:19:30PM +0000, Quentin Perret wrote:
It is currently possible to stub EXPORT_SYMBOL() macros in C code using __DISABLE_EXPORTS, which is necessary to run in constrained environments such as the EFI stub or the decompressor. But this currently doesn't apply to exports from assembly, which can lead to somewhat confusing situations. Consolidate the __DISABLE_EXPORTS infrastructure by checking it from asm-generic/export.h as well. Signed-off-by: Quentin Perret <redacted> --- include/asm-generic/export.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Will Deacon <will@kernel.org> Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel