[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210203152452.GA18974@willie-the-truck>
Date: Wed, 3 Feb 2021 15:24:52 +0000
From: Will Deacon <will@...nel.org>
To: Quentin Perret <qperret@...gle.com>
Cc: arnd@...db.de, maz@...nel.org, catalin.marinas@....com,
james.morse@....com, julien.thierry.kdev@...il.com,
suzuki.poulose@....com, ardb@...nel.org,
linux-arch@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, kvmarm@...ts.cs.columbia.edu,
kernel-team@...roid.com
Subject: Re: [PATCH 1/2] asm-generic: export: Stub EXPORT_SYMBOL with
__DISABLE_EXPORTS
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 <qperret@...gle.com>
> ---
> include/asm-generic/export.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Will Deacon <will@...nel.org>
Will
Powered by blists - more mailing lists