Re: [PATCH 2/5] x86: Move 32-bit compat syscalls to common location

From: Brian Gerst
Date: Fri Feb 21 2020 - 08:41:36 EST


On Fri, Feb 21, 2020 at 2:07 AM Dominik Brodowski
<linux@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> On Fri, Feb 21, 2020 at 12:09:31AM -0500, Brian Gerst wrote:
> > --- a/arch/x86/kernel/Makefile
> > +++ b/arch/x86/kernel/Makefile
> > @@ -57,6 +57,8 @@ obj-y += setup.o x86_init.o i8259.o irqinit.o
> > obj-$(CONFIG_JUMP_LABEL) += jump_label.o
> > obj-$(CONFIG_IRQ_WORK) += irq_work.o
> > obj-y += probe_roms.o
> > +obj-$(CONFIG_X86_32) += sys_ia32.o
> > +obj-$(CONFIG_IA32_EMULATION) += sys_ia32.o
>
> That doesn't look nicely...

Do you have a better suggestion? That's similar to how tls.o is
already handled.

--
Brian Gerst