[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMo8BfJG9EPAoLqPRwq8DNvMOy9Q0BOYcZ8fV4W5f+B7X9bqOQ@mail.gmail.com>
Date: Thu, 7 Nov 2024 09:29:19 -0800
From: Max Filippov <jcmvbkbc@...il.com>
To: Masahiro Yamada <masahiroy@...nel.org>
Cc: linux-kernel@...r.kernel.org, Chris Zankel <chris@...kel.net>
Subject: Re: [PATCH] xtensa: annotate dtb_start variable as static __initdata
On Wed, Nov 6, 2024 at 8:51 AM Masahiro Yamada <masahiroy@...nel.org> wrote:
>
> On Wed, Sep 18, 2024 at 12:15 PM Masahiro Yamada <masahiroy@...nel.org> wrote:
> >
> > The 'dtb_start' variable is only used within arch/xtensa/kernel/setup.c.
> > Mark it as 'static'.
> >
> > It is only used by parse_tag_fdt() and init_arch(), both of which are
> > annotated as __init. Therefore, dtb_start can be annotated as __initdata,
> > so it will discarded after boot.
> >
> > Signed-off-by: Masahiro Yamada <masahiroy@...nel.org>
> > ---
>
> Ping?
Thanks. Applied to my xtensa tree.
-- Max
Powered by blists - more mailing lists