[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220608150039.uunijnzx6t4irfrm@treble>
Date: Wed, 8 Jun 2022 08:00:39 -0700
From: Josh Poimboeuf <jpoimboe@...nel.org>
To: Andrew Cooper <Andrew.Cooper3@...rix.com>
Cc: Joe Damato <jdamato@...tly.com>, "x86@...nel.org" <x86@...nel.org>,
"jpoimboe@...hat.com" <jpoimboe@...hat.com>,
"peterz@...radead.org" <peterz@...radead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"jiangshanlai@...il.com" <jiangshanlai@...il.com>,
"bp@...e.de" <bp@...e.de>, "brgerst@...il.com" <brgerst@...il.com>
Subject: Re: 5.19-rc1 x86 build failure
On Wed, Jun 08, 2022 at 09:24:25AM +0000, Andrew Cooper wrote:
> On 08/06/2022 01:59, Josh Poimboeuf wrote:
> > @@ -133,12 +125,16 @@ asmlinkage void __init x86_64_start_reservations(char *real_mode_data);
> >
> > #endif /* __i386__ */
> > #endif /* _SETUP */
> > -#else
> > -#define RESERVE_BRK(name,sz) \
> > - .pushsection .brk_reservation,"aw",@nobits; \
> > -.brk.name: \
> > -1: .skip sz; \
> > - .size .brk.name,.-1b; \
> > +
> > +#else /* __ASSEMBLY */
> > +
> > +#define RESERVE_BRK(name, size) \
> > + .pushsection .brk_reservation, "aw"; \
> > +__brk_##name: \
> > +1: .skip size; \
> > + .size __brk_##name, . - 1b; \
> > .popsection
>
> While I think about it before you write the patch properly, you ought to
> have a .type in here too, seeing as the C side now gets one.
Good point, I'll just use the SYM_DATA_{START,END} macros.
--
Josh
Powered by blists - more mailing lists