Re: [PATCH] xtensa: annotate dtb_start variable as static __initdata
From: Max Filippov
Date: Thu Nov 07 2024 - 12:29:29 EST
On Wed, Nov 6, 2024 at 8:51 AM Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote:
>
> On Wed, Sep 18, 2024 at 12:15 PM Masahiro Yamada <masahiroy@xxxxxxxxxx> 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@xxxxxxxxxx>
> > ---
>
> Ping?
Thanks. Applied to my xtensa tree.
-- Max