Re: [PATCH 1/2] export.h: remove defined(__KERNEL__)
From: Masahiro Yamada
Date: Mon Sep 09 2019 - 10:35:12 EST
On Mon, Sep 9, 2019 at 10:48 PM Nicolas Pitre <nico@xxxxxxxxxxx> wrote:
> On Mon, 9 Sep 2019, Masahiro Yamada wrote:
> > This line was touched by commit f235541699bc ("export.h: allow for
> > per-symbol configurable EXPORT_SYMBOL()"), but the commit log did
> > not explain why.
> > CONFIG_TRIM_UNUSED_KSYMS works for me without defined(__KERNEL__).
> I'm pretty sure it was needed back then so not to interfere with users
> of this file. My fault for not documenting it.
Hmm, I did not see a problem in my quick build test.
Do you remember which file was causing the problem?